uci-cbcl / NoduleNet

[MICCAI' 19] NoduleNet: Decoupled False Positive Reduction for Pulmonary Nodule Detection and Segmentation
Other
188 stars 58 forks source link

python setup.py install error #34

Open scsunjing opened 3 years ago

scsunjing commented 3 years ago

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

dreamwish1998 commented 3 years ago

I meet the same problem! Does anyone have the solution? @scsunjing, did you solve it? Is this build/box step necessary in the project?

scsunjing commented 3 years ago

@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.

dreamwish1998 commented 3 years ago

@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?

scsunjing commented 3 years ago

@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

dreamwish1998 commented 3 years ago

@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!

scsunjing commented 3 years ago

@junxiaopang1998 qq: 2934590786

chovvvvvy commented 1 year ago

@junxiaopang1998 QQ:2934590786 @scsunjing I have some questions I would like to ask you, thank you