Closed UsamaShami11 closed 1 year ago
The above issues have been resolved, and brief details are as under:
Making another Conda Virtual Environment, with following packages: Python=3.8.15 | Pytorch=1.13.1 | Torchvision=0.14.1 | Pytorch-cuda = 11.7 | CUDA = 11.7.1
python setup.py develop
ran smoothly this time, but missing imports were to be installed as mentioned earlier.sys.path.append( )
function is used.
Hello, I'm trying to implement and run the DLPAN-Toolbox, and have done the following steps to setup my environment: 1) Cloning the Repo and opening it via VSCode 2) Making a Conda Virtual Environment, with following packages: Python=3.8.15 | Pytorch=1.6.0 (cpu-only) | Torchvision=0.7 3) Running
setup.py
after installing the above Python/Pytorch versionsHowever, following issues have been observed: 1) Permission denied for wheel.exe upon running
python setup.py develop
, so I had to usepython setup.py develop --user
instead 2) Packages like nni, h5py are showing error *missing imports when ranrun_panshapening.py
, so I had to install them manually using these commands:conda install h5py
pip install nni
conda install regex
3) Now, when I run
python run_pansharpening.py
, mmcv is not being detected (image attached) and it is throwing the following error:Kindly suggest the solution for such missing imports, as I tried installing mmcv from pip but it is being failed due to conflicts. Moreover, please mention the Python and Pytorch versions which you have used, so I may be able to replicate the results. Thanks!