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
error when trying to train on the yvos dataset #7
Comments
You could firstly try to delete the If it doesn't work, please paste your error here and we could discuss further. |
Thanks for your quick reply, the directory you are asking me to delete does not exist in the file system i have (as downloaded) again, thank you |
Sorry I forget to add the It the error still happens, please try to check your |
Thank you! |
using the command taken from drsn/do_train_eval and adapted i tried to train on the yvos dataset to test the algorithm
the comman i used was:
"CUDA_VISIBLE_DEVICES=0 python train.py --model_save_path experiments/snapshots --max_iters 100000 --decayat 60000 --learning_rate 2e-5 --batch_size 64 --input_size 256,256"
my default python version is 3.6.8, gcc version 5.5, cuda version 9.0 and inplace_abn version 1.0.3
the error i received was the following:
Traceback (most recent call last):
File "train.py", line 23, in
from model.drsn import DRSN
File "/home/orel/projects/pts/PTSNet-master/drsn/model/drsn.py", line 9, in
from inplace_ABN import InPlaceABN, InPlaceABNSync
File "/home/orel/projects/pts/PTSNet-master/drsn/model/inplace_ABN/init.py", line 1, in
from .bn import ABN, InPlaceABN, InPlaceABNSync
File "/home/orel/projects/pts/PTSNet-master/drsn/model/inplace_ABN/bn.py", line 10, in
from .functions import *
File "/home/orel/projects/pts/PTSNet-master/drsn/model/inplace_ABN/functions.py", line 22, in
extra_cuda_cflags=["--expt-extended-lambda"])
File "/home/orel/projects/pts/ptsenv/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 644, in load
is_python_module)
File "/home/orel/projects/pts/ptsenv/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 802, in _jit_compile
if baton.try_acquire():
File "/home/orel/projects/pts/ptsenv/lib/python3.6/site-packages/torch/utils/file_baton.py", line 36, in try_acquire
self.fd = os.open(self.lock_file_path, os.O_CREAT | os.O_EXCL)
FileNotFoundError: [Errno 2] No such file or directory: '/home/orel/projects/pts/PTSNet-master/drsn/model/inplace_ABN/build/lock'
I don't understand what file is missing and how to replace/construct it
I would appreciate your help
Thanks,
Orel
The text was updated successfully, but these errors were encountered: