在Pycharm上编写的C:\Users\Administrator\PycharmProjects\untitled\venv\Scripts\python.exe "F:\Program Files\JetBrains\PyCharm 2018.1.2\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 8731 --file C:/Users/Administrator/Desktop/neurosynth/examples/prac1.pypydev debugger: process 7144 is connecting
Connected to pydev debugger (build 181.4668.75)
INFO dataset Loading activation data from C:/Users/Administrator/Desktop/neurosynth/data/database.txt...
INFO transformations No transformation named 'UNKNOWN' found; coordinates left untransformed.
INFO dataset Creating image table...
INFO dataset Mapping 14371 studies into image space...
Traceback (most recent call last): File "F:\Program Files\JetBrains\PyCharm 2018.1.2\helpers\pydev\pydevd.py", line 1664, in <module> main() File "F:\Program Files\JetBrains\PyCharm 2018.1.2\helpers\pydev\pydevd.py", line 1658, in main
globals = debugger.run(setup['file'], None, None, is_module) File "F:\Program Files\JetBrains\PyCharm 2018.1.2\helpers\pydev\pydevd.py", line 1068, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "F:\Program Files\JetBrains\PyCharm 2018.1.2\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc) File "C:/Users/Administrator/Desktop/neurosynth/examples/prac1.py", line 12, in <module>
ids=dataset.get_ids_by_features('emo*',threshold=0.05)
AttributeError: 'Dataset' object has no attribute 'get_ids_by_features'Process finished with exit code 1
1 回答
大话西游666
TA贡献1817条经验 获得超14个赞
'Dataset' object has no attribute 'get_ids_by_features'提示中显示dataset这个对象没有get_ids_by_features属性,还是再检查一下源码吧
- 1 回答
- 0 关注
- 2519 浏览
添加回答
举报
0/150
提交
取消