rpng / calc

Convolutional Autoencoder for Loop Closure
BSD 3-Clause "New" or "Revised" License
190 stars 45 forks source link

Docker support for managing dependencies #30

Open p-ranav opened 3 years ago

p-ranav commented 3 years ago

It would really help if you could setup docker support for this project.

If you provide a Dockerfile, the typical usage for the user would be:

$ git clone https://github.com/rpng/calc
$ cd calc/TrainAndTest # Assuming there is a Dockerfile here
$ docker build calc/train:1.0 .
$ docker run -it --volume="/home/foo/bar/calc:/home/root/calc" calc/train:1.0 bin/bash
root@ubuntu:/# cd /home/root/calc/TrainAndTest
root@ubuntu:/# python main.py -h

Here is an example docker file for voxblox.

Godm commented 7 months ago

您好,请问怎么用docker跑calc项目呀?dockerfile该怎么去写呀?