Swin-Transformer
Swin-Transformer copied to clipboard
can't install by using:pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext
My system envs is CentOS7/cuda 10.1.243 /cudnn 7.6.5,which is exactly the same envs as the tutorial envs. However, when I run the command line on the title, I got "RuntimeError: Error compiling objects for extension" error message. My pytorch version is 1.7.1, I thought it's a incompatible problem between the pytorch version and cuda version, so I changed the pytorch into 1.7.0/1.6.0, but still got the same error message. is there any one can help me ?
cd apex python setup.py install try it
cd apex python setup.py install try it
Thanks,it is efficient
If use “python setup.py install”,it will show error when I eval?But it is Ok,when I train model.
Traceback (most recent call last):
File "main.py", line 347, in
Hi @tb2-sy, it seems that the len(data_loader_train) is 0. You can first check if the training data path is correct. If you just want to eval, you can hack it by setting an arbitrary number like:
lr_scheduler = build_scheduler(config, optimizer, 1000)
Oh thanks, I will give it a try.