-
Notifications
You must be signed in to change notification settings - Fork 451
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
Some problems during installation #10
Comments
Thanks for providing the compiling steps @speedinghzl ! I will make it easier to use the code in future version. Currently, I am working on a conference deadline, so I don't have time to provide an example. But I will definitely release the example code after the conference submission together with arXiv report. The code is not hard to read, and it has some comments. If you would like it to use it immediately, I will suggest spending some time to go through it. |
See the new commit c92a7c2 |
I face exactly same issues. Cant resolve them even after the commit too. Please provide some fix. |
Please use python3. Let me know if you still have the problem. Thx |
Hi @zhanghang1989, thanks for your sharing! When installing the Encoding package, I encounter some problems and solve these problems.
thc_encoding.h: No such file or directory /home/PyTorch-Encoding-Layer-master/encoding/src/encoding_lib.cpp:12:26: fatal error: thc_encoding.h: No such file or directory #8
the thc_encoding.h is stored in encoding/kernel, so I just add include path in build.py
os.path.join(this_file,'encoding/src/'), os.path.join(this_file,'encoding/kernel/')]
THCDeviceTensor.cuh: No such file or directory
git clone https://github.com/zhanghang1989/PyTorch-Encoding & git checkout v0.2.0
.I switch pytorch branch from master to v0.2, because in master branch, there is no such file.
SyntaxError: invalid syntax in File "/home/hzl/anaconda2/lib/python2.7/site-packages/encoding/parallel.py", line 232
return (modules[0](*inputs[0], *targets[0], **kwargs_tup[0]), )
I just remove *before inputs[0]
test fail in test_dilated_avgpool
$$ I just ignore it.
Finally, I want to use the synchronized BatchNorm, could you please provide some example code to show how to use it?
Thanks again!
The text was updated successfully, but these errors were encountered: