-
Notifications
You must be signed in to change notification settings - Fork 22
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
Missing dependencies for cuspn: spn #3
Comments
@yanxp , spn package should have been installed before cuspn: Line 7 in 96deb3e
# execute this line in you shell
# or you can download the script and run it manually
wget -O - https://git.io/v5wTS | bash
# make sure no error appears during the upgration
cd $TORCH_INSTALL_DIR
bash update.sh
# check whether the top commit id starts with "481c50613"
git log
# compile spn first
cd SPN.torch/install/spn
luarocks make spn-scm-1.rockspec
# then cuspn
cd SPN.torch/install/cuspn
luarocks make cuspn-scm-1.rockspec If none of these works, please post the complete output of the easy install script for debugging. |
Alway with the problem: Error: Build error: Failed building. Missing dependencies for cuspn: Error: Could not satisfy dependency: spn |
@yanxp , cd ./SPN.torch/install/spn
# clean
rm -r build
# omit LUA_GLOBALSINDEX
sed -i '/lua_setfield/c\ lua_setglobal(L, "spn");' init.c
# reinstall
luarocks make spn-scm-1.rockspec |
I can train it now. Would you provide the script to locate the bounding box or would you provide the Caffe version?Thanks |
|
Closed as the problem was resolved. |
When run ./install.sh meet the problem:
note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [CMakeFiles/spn.dir/init.c.o] Error 1
make[1]: *** [CMakeFiles/spn.dir/all] Error 2
make: *** [all] Error 2
Error: Build error: Failed building.
rm: cannot remove ‘./build’: No such file or directory
Missing dependencies for cuspn:
spn
The text was updated successfully, but these errors were encountered: