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

Building and running docker image on Ubuntu 20.04 #100

Open
annalisasheehan opened this issue Nov 10, 2020 · 6 comments
Open

Building and running docker image on Ubuntu 20.04 #100

annalisasheehan opened this issue Nov 10, 2020 · 6 comments

Comments

@annalisasheehan
Copy link

annalisasheehan commented Nov 10, 2020

Hello,

I've recently updated my computer to Ubuntu 20.04 and have since run into a lot of issues when running the SIMRDWN code and building the dockerfile.

After building the dockerfile and making YOLT3 i get the error:
Makefile: 100 : recipe for target 'libdarknet.so' failed

When attempting to run the simrdwn.py i get the error:
./yolt3/darknet: error while loading shared libraries: libcudart.so.9.0: cannot open shared object file: No such file or directory

On my PC I have:
Ubuntu 20.04
NVIDIA-SMI 455.32.00
CUDA Version: 11.1

Any help on why this may be happening would be greatly appreciated.
Many Thanks,
Annalisa

@sunyuxiu
Copy link

Hi.I do not build the docker when I run the script.For my reason,I think it is not necessary to build to the docker because the docker just is a tool to make the script more convenient run.In my environment,I build a anaconda env tlist to solve the environment.And now,I meet a new error,maybe we can communicate each other when you run the test file.I am looking forward your letter.

@sunyuxiu
Copy link

Hi.I do not build the docker when I run the script.For my reason,I think it is not necessary to build to the docker because the docker just is a tool to make the script more convenient run.In my environment,I build a anaconda env tlist to solve the environment.And now,I meet a new error,maybe we can communicate each other when you run the test file.I am looking forward your letter.

Maybe this issues can help you: #81

@annalisasheehan
Copy link
Author

Hi Sunyuxiu,

Thank you for your comment and the link to the other issue. I've had a look at this and also thought that it may be due to the CUDA version however there's limited information that i can find on how to solve the issue and whether i can change CUDA to a previous version with Ubuntu 20.04. I was perfectly able to run the docker image and code on Ubuntu 18.04 and unsure why updating to Ubuntu 20.04 has had such a negative impact on docker/cuda etc. Any help on this would be greatly appreciated?

I have also tried building a conda environment (based on the dockerfile) however found that there are hardcoded paths in the code which assume you are working in a docker image. Is that the issue you have also found?

@sunyuxiu
Copy link

Hi.Nice to receive your reply!I do not know what the hardcode means in your last reply.And,I only use conda environment instead of docker environment.

Hi Sunyuxiu,

Thank you for your comment and the link to the other issue. I've had a look at this and also thought that it may be due to the CUDA version however there's limited information that i can find on how to solve the issue and whether i can change CUDA to a previous version with Ubuntu 20.04. I was perfectly able to run the docker image and code on Ubuntu 18.04 and unsure why updating to Ubuntu 20.04 has had such a negative impact on docker/cuda etc. Any help on this would be greatly appreciated?

I have also tried building a conda environment (based on the dockerfile) however found that there are hardcoded paths in the code which assume you are working in a docker image. Is that the issue you have also found?

@sunyuxiu
Copy link

In addition,what stage do you have run?Training or testing?

@sunyuxiu
Copy link

Hi,do you meet the similar question like this when you test the net?#101

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

2 participants