yangxue0827 / RotationDetection

This is a tensorflow-based rotation detection benchmark, also called AlphaRotate.
https://rotationdetection.readthedocs.io/
Apache License 2.0
1.07k stars 180 forks source link

Dockerfile available? #87

Open Testbild opened 2 years ago

Testbild commented 2 years ago

Hello, I would like to change the docker container you provide for the project, but I struggle to find the dockerfile so I can edit it. Can you help me there @yangxue0827 ?

I looked here: https://hub.docker.com/r/yangxue2docker/py3-tf1.15.2-nv-torch1.8.0-cuda11/tags and when I click here: https://hub.docker.com/layers/yangxue2docker/py3-tf1.15.2-nv-torch1.8.0-cuda11/v1.0/images/sha256-89819321b7277f6def51a9c349caca62b4c9ef881f2ed0af4402d298b465f95e?context=explore it also shows what I believe are the commands of the dockerfile, but I do not find the file, so I can alter it. I am using Ubuntu on WSL2 if that matters.

Thank you and best regards

yangxue0827 commented 2 years ago

You can use my docker image as the base image, and then write the dockerfile by yourself.

Testbild commented 2 years ago

I tried this but had no luck, as there are some errors then when running the code.

Basically my main issue is: When I use the Dockerfile I made without you base image it does not find the *.cpp files that are imported. So I was thinking maybe you set some ENV where is has to look for the imports.

When I use your Docker as the Base image there is conflicts with the Python and Ubuntu Version, as I would like to use Python 3.7 or 3.9, but as in your base Docker it is Ubuntu 18.04 I believe it can only run Python 3.6

Do you have an idea how to resolve this? I am not an expert on Docker and maybe having your Dockerfile could help me to understand it better.

Thank you very much and best regards