-
Notifications
You must be signed in to change notification settings - Fork 7
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
The file _C.cpython-310-x86_64-linux-gnu.so
cannot work with my environments.
#2
Comments
@Leeinsn If you are not working at python 3.10+Cuda 11.3+pytorch 1.12, please remove the .so file and recompile the CUDA code of DCN and other sources under your own environment. Please see the BasicSR repo for more installation details. |
That's fine. This part will not be used in this repo currently, and we will remove and refactor the code in the near future. Anyway, thanks for pointing out this problem :) |
you need reinstall BasicSR through pip install basicsr. |
After running the code
python setup.py develop
, I tried to runbash test_RRDB_RealCEx4.sh
to test the model, but I get the errors information as following... I suppose the problem is thatReal-CE/basicsr/ops/_C.cpython-310-x86_64-linux-gnu.so
does not support my environment. However, I do not know what to do to recompile the corresponding .cpp file. Could you please open source the details about that. Thank you!Traceback (most recent call last): File "/mnt/lustre/lihao5/Real-CE/basicsr/test.py", line 5, in <module> from basicsr.data import build_dataloader, build_dataset File "/mnt/lustre/lihao5/Real-CE/basicsr/__init__.py", line 3, in <module> from .archs import * File "/mnt/lustre/lihao5/Real-CE/basicsr/archs/__init__.py", line 16, in <module> _arch_modules = [importlib.import_module(f'basicsr.archs.{file_name}') for file_name in arch_filenames] File "/mnt/lustre/lihao5/Real-CE/basicsr/archs/__init__.py", line 16, in <listcomp> _arch_modules = [importlib.import_module(f'basicsr.archs.{file_name}') for file_name in arch_filenames] File "/mnt/cache/lihao5/miniconda3/envs/realce/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/mnt/lustre/lihao5/Real-CE/basicsr/archs/srresnet_arch.py", line 9, in <module> from basicsr.ops.roi_align_rotated import ROIAlignRotated File "/mnt/lustre/lihao5/Real-CE/basicsr/ops/roi_align_rotated.py", line 7, in <module> from basicsr.ops import _C ImportError: /mnt/lustre/lihao5/Real-CE/basicsr/ops/_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops4view4callERKNS_6TensorEN3c108ArrayRefIlEE phoenix-srun: error: SH-IDC1-10-198-6-143: task 0: Exited with exit code 1
The text was updated successfully, but these errors were encountered: