Closed aikeet2927 closed 2 years ago
The Dockerfile image uses Python 3.8 (see also: https://catalog.ngc.nvidia.com/orgs/nvidia/containers/pytorch).
I am not using docker, i am creating a conda environment. While installing, i am getting error with dafne installation.
Is there anyspecific way to work upon without using docker
Yes, you don't need docker -- it was just a pointer to which Python version the Docker image is using :-)
If you share the full output of the command I can have a look at what is going wrong. Feel free to paste it here: https://pastebin.com and share the link.
You can see it here. https://pastebin.com/83kbRhGx
(base) ai21mtech13009@dgx1-2:~/DAFNe$ pip install dafne
This project, DAFNe
, is not a package on pypi, i.e., you cannot install it with pip
.
You are installing https://pypi.org/project/dafne, which is not related to this project.
You basically need to follow the same steps as outlined in the Dockerfile.
pip install tensorboard==1.15.0
pip install 'git+https://github.com/facebookresearch/fvcore'
git clone -b v0.5 https://github.com/facebookresearch/detectron2 detectron2_repo
pip install -e detectron2_repo
git clone https://github.com/CAPTAIN-WHU/DOTA_devkit && \
cd DOTA_devkit && \
git checkout 99388551054be9a6dabb01c8bb2a7eb562d57b4f && \
swig -c++ -python polyiou.i && \
python setup.py install && \
cd poly_nms_gpu && \
python setup.py install
pip install -r requirements.txt
pip install pdbpp ipython
I think since the folder dafne is not inside tools folder, thats why the "module not found " came. By coincide, theres a python package dafne also
No, the project just isn't "pip-installable" as it is right now (haven't written a proper setup.py). If you don't use docker, you need to install it as described above.
I am saying that if I put dafne folder inside the tools folder, then the code has started executing. Thanks
Whats the python version you are using?