Skip to content
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

Not able to install requirement.txt #51

Open
GoroYeh-HRI opened this issue May 1, 2024 · 4 comments
Open

Not able to install requirement.txt #51

GoroYeh-HRI opened this issue May 1, 2024 · 4 comments

Comments

@GoroYeh-HRI
Copy link

HI, as mentioned in the title,
I'm not able to install the specified requirement.txt thus not able to run this codebase.
Could you provide a docker image for us to run your code?
I appreciate your effort a lot.

@nunuisacat
Copy link

Hi there, thanks for the nice code. I encountered similar issue while trying to run requirement.txt. After manually installed torch and torch-scatter, I run the vis_label file and got the error message "Segmentation fault (core dumped)"

@GoroYeh-HRI
Copy link
Author

GoroYeh-HRI commented May 6, 2024

I finally built a docker image and train in the container.
Although I got very bad training result and not able to reproduce the paper reported IoU,
sharing my Dockerfile here:

FROM pytorch/pytorch:1.11.0-cuda11.3-cudnn8-devel

# Copy the requirements file into the container
COPY requirement.txt .

# Install the required packages
RUN pip3 install -r requirement.txt

I need to change the requirement.txt to the following to be able to build an run the image:

addict==2.4.0
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
asttokens==2.0.5
attrs==21.4.0
backcall==0.2.0
black==22.1.0
bleach==4.1.0
cachetools==5.0.0
certifi==2021.10.8
cffi==1.15.0
click==8.0.4
cycler==0.11.0
debugpy==1.5.1
decorator==5.1.1
defusedxml==0.7.1
descartes==1.1.0
efficientnet-pytorch==0.7.1
entrypoints==0.4
executing==0.8.2
fire==0.4.0
fonttools==4.29.1
importlib-resources==5.4.0
ipdb==0.13.9
ipykernel==6.9.1
ipython==8.0.1
ipython-genutils==0.2.0
ipywidgets==7.6.5
jedi==0.18.1
Jinja2==3.0.3
joblib==1.1.0
jsonschema==4.4.0
jupyter==1.0.0
jupyter-client==7.1.2
jupyter-console==6.4.0
jupyter-core==4.9.2
jupyterlab-pygments==0.1.2
jupyterlab-widgets==1.0.2
kiwisolver==1.3.2
MarkupSafe==2.1.0
matplotlib==3.5.1
matplotlib-inline==0.1.3
mistune==0.8.4
mmcv==1.4.5
mypy-extensions==0.4.3
nbclient==0.5.11
nbconvert==6.4.2
nbformat==5.1.3
nest-asyncio==1.5.4
notebook==6.4.8
numpy==1.22.2
nuscenes-devkit==1.1.9
opencv-python==4.5.5.62
packaging==21.3
pandocfilters==1.5.0
parso==0.8.3
pathspec==0.9.0
pexpect==4.8.0
pickleshare==0.7.5
Pillow==9.0.1
platformdirs==2.5.1
prometheus-client==0.13.1
prompt-toolkit==3.0.28
protobuf==3.19.4
ptyprocess==0.7.0
pure-eval==0.2.2

pycparser==2.21
Pygments==2.11.2
pyparsing==3.0.7
pyquaternion==0.9.9
pyrsistent==0.18.1
python-dateutil==2.8.2
PyYAML==6.0
pyzmq==22.3.0
qtconsole==5.2.2
QtPy==2.0.1
scikit-learn==1.0.2
scipy==1.8.0
Send2Trash==1.8.0
Shapely==1.8.1.post1
six==1.16.0
stack-data==0.2.0
tensorboardX==2.4.1
termcolor==1.1.0
terminado==0.13.1
testpath==0.5.0
threadpoolctl==3.1.0
toml==0.10.2
tomli==2.0.1
torch==1.10.2
torch-scatter==2.0.9
torchaudio==0.10.2
torchvision==0.11.3
tornado==6.1
tqdm==4.62.3
traitlets==5.1.1
typing_extensions==4.1.1
wcwidth==0.2.5
webencodings==0.5.1
widgetsnbextension==3.5.2
yapf==0.32.0
zipp==3.7.0

@OpenSatMap
Copy link

Same error, I met ImportError: cannot import name 'packaging' from 'pkg_resources' (miniconda3/envs/hdmap/lib/python3.9/site-packages/pkg_resources/__init__.py),
what is your python version?

@zehranrgi
Copy link

Hi there, thanks for the nice code. I encountered similar issue while trying to run requirement.txt. After manually installed torch and torch-scatter, I run the vis_label file and got the error message "Segmentation fault (core dumped)"

It may be that your RAM is full. I will try your method and update here if the same error happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants