Creating the docker for open3d-ml #5849
Unanswered
shayannikoohemat
asked this question in
Q&A
Replies: 1 comment
-
I noticed the Docker by default runs with the native OS, so if I want to run a docker with Linux base image on an ARM64 (Mac OS) I should pass the tag The below Docker works fine on a Mac Os M1 system.
Note Then build and run it with:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to create a docker image for Open3d-ML on an Ubuntu20.04 base image following this link. After creating the docker image and running it I get this error:
raise Exception('Open3D was not built with PyTorch support!')
Here is the Docker image:
Build the docker:
docker build -t open3d-ml-ubuntu20:latest Dockerfile .
Run the docker:
docker run -it --rm --name o3d-ubuntu20-1 open3d-ml-ubuntu20
Then inside the docker:
Error Message
Importing open3d works fine with no error but when I import
open3d.ml.torch
I get the error:Additional information
I tried also below options:
Ubuntu22.04
andpython 3.10
but the same error.RUN pip install torch==1.12.0+cpu torchvision==0.13.0+cpu torchaudio==0.12.0 --extra-index-url https://download.pytorch.org/whl/cpu
Error:
open3d==0.12.1
but I get the error:ERROR: No matching distribution found for open3d
Related disucssions
5123
System Info
(but note I'm building a docker with Ubuntu=20.04 base image)
Any help on how to build a docker for Open3d-ML is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions