Skip to content

Dockerfile for consistent environments on any system #147

Open
JonasVerbickas wants to merge 1 commit intolikyoo:mainfrom
JonasVerbickas:main
Open

Dockerfile for consistent environments on any system #147
JonasVerbickas wants to merge 1 commit intolikyoo:mainfrom
JonasVerbickas:main

Conversation

@JonasVerbickas
Copy link

It would be extremely useful to make it easy to build the library on any system.

I created a Dockerfile based on the official mmsegmentation repo.

After building the docker image I ran training successfully.

# build docker image
docker build -t open-cd .

# run docker image
docker run -it --rm --gpus all -v ./data:/workspace/data

# start training
python tools/train.py configs/changer/changer_ex_r18_512x512_40k_levircd.py --work-dir ./changer_r18_levir_workdir

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

Successfully merging this pull request may close these issues.

1 participant