-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python setup.py install error #34
Comments
I meet the same problem! Does anyone have the solution? @scsunjing, did you solve it? Is this build/box step necessary in the project? |
@junxiaopang1998 I change all "long" to "int64_t" in nms.cpp to install it successfully on win10. if you install it succeessfully, it will faster when train.py. if you test succeessfully, can you tell me the mean of the result. |
@scsunjing Thank you very much, the dataset I currently use is LUNA16. There are some problems in the running process of train.py, but my test.py ran successfully. I don’t know if you ran train.py successfully? |
@junxiaopang1998 my train test.py ran successfully, I always get out of memory error when set net.use_mask = True at test.py,can you give me the results of the test.py |
@scsunjing How can I contact you? I also have questions and want to consult you. Thanks! |
@junxiaopang1998 qq: 2934590786 |
|
cd build/box
python setup.py install
I got error
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:D:\software\Miniconda\envs\NoduleNetEnv\lib\site-packages\torch\lib /LIBPATH:D:\software\Miniconda\envs\NoduleNetEnv\libs /LIBPATH:D:\software\Miniconda\envs\NoduleNetEnv\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" c10.lib caffe2.lib torch.lib torch_python.lib _C.lib /EXPORT:PyInit_box build\temp.win-amd64-3.6\Release\box.obj /OUT:build\lib.win-amd64-3.6\box.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\box.cp36-win_amd64.lib
box.obj : warning LNK4197: 多次指定导出“PyInit_box”;使用第一个规范
正在创建库 build\temp.win-amd64-3.6\Release\box.cp36-win_amd64.lib 和对象 build\temp.win-amd64-3.6\Release\box.cp36-win_amd64.exp
box.obj : error LNK2001: 无法解析的外部符号 "public: long * __cdecl at::Tensor::data(void)const " (??$data@J@Tensor@at@@QEBAPEAJXZ)
build\lib.win-amd64-3.6\box.cp36-win_amd64.pyd : fatal error LNK1120: 1 个无法解析的外部命令
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe' failed with exit status 1120
The text was updated successfully, but these errors were encountered: