-
Notifications
You must be signed in to change notification settings - Fork 135
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
Compiled successfully with torch==1.1 installed by pip #24
Comments
When i do "sh compile.sh", the error: command '/usr/local/cuda-10.0/bin/bin/nvcc' failed with exit status 1**** .My $PATH is : My env is same to yours, I want to know your $PATH and do you have the same error? |
@cuizelu I'm sure my $PATH is the same as yours. from torch.utils.collect_env import get_pretty_env_info
print(get_pretty_env_info()) |
Your environment variable settings are wrong. You can follow examples in "compile.sh". export LD_LIBRARY_PATH="/home/feihu/anaconda3/lib:$LD_LIBRARY_PATH" |
Good to know this. So we could generalize this to others for easy implementation. |
I have tried to run the code, here is the running info: Namespace(batchSize=8, crop_height=240, crop_width=528, cuda=1, data_path='/home/youmin/data/StereoMatching/SceneFlow/', in_path=None, job_name=None, kitti=0, kitti2015=0, left_right=0, lr=0.001, max_disp=192, nEpochs=11, out_path=None, pretrained_path=None, resume='', save_path='/home/youmin/exps/GANet/clean-test', seed=123, shift=0, testBatchSize=1, threads=16, training_list='/home/youmin/data/annotations/SceneFlow/cleanpass_train.json', val_list='/home/youmin/data/annotations/SceneFlow/cleanpass_test.json')
===> Loading datasets
===> Building model
0.001
===> Epoch[1](0/4431): Loss: 127.7617, Error: (68.4038 59.5425 79.2540)
===> Epoch[1](1/4431): Loss: 90.6924, Error: (46.6843 48.0715 53.4087)
===> Epoch[1](2/4431): Loss: 85.0300, Error: (49.5175 50.6676 45.6224)
===> Epoch[1](3/4431): Loss: 67.8248, Error: (46.5083 42.8192 33.7256)
===> Epoch[1](4/4431): Loss: 67.2712, Error: (45.5687 40.1456 34.9652)
===> Epoch[1](5/4431): Loss: 66.7984, Error: (46.9146 39.7734 34.4440)
===> Epoch[1](6/4431): Loss: 55.6109, Error: (41.5324 33.2189 28.2651) It goes well for training. |
Heads up for Docker users, I had success with pytorch/pytorch:1.1.0-cuda10.0-cudnn7.5-devel |
Hello, I am running like you, what do the three average error rates mean? Why am I wrong with the test data? |
What should be the final training and prediction results? |
@UESTCtubiao |
Thank you very much,i got the final results, i understand what you mean. |
Actually, my torch is installed with pip, and successfully compile GANet and sync_bn module!
Here is my env:
PyTorch version: 1.1.0
Is debug build: No
CUDA used to build PyTorch: 10.0.130
OS: Ubuntu 16.04.3 LTS
GCC version: (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
CMake version: version 3.10.0
Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: 7.5.17
GPU models and configuration:
GPU 0: GeForce GTX 1080 Ti
GPU 1: GeForce GTX 1080 Ti
GPU 2: GeForce GTX 1080 Ti
GPU 3: TITAN X (Pascal)
Nvidia driver version: 430.09
The text was updated successfully, but these errors were encountered: