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

How to run the docker image #57

Open
Zialo opened this issue Jun 21, 2024 · 6 comments
Open

How to run the docker image #57

Zialo opened this issue Jun 21, 2024 · 6 comments

Comments

@Zialo
Copy link

Zialo commented Jun 21, 2024

Hi!

First of all, thank you very much for the work done, it is very interesting.

I am trying to run the docker image but having zero knowledge in docker, I am not able to do it. I have the image after the pull but when I do the run it tells me that there is no command specified. What can I do?

Thank you in advance!

KR

@grth25
Copy link

grth25 commented Aug 14, 2024

Same here, did you find a solution?

@3114917790
Copy link

同样在这里,你找到解决方案了吗?
I solved it using docker

@Zialo
Copy link
Author

Zialo commented Sep 12, 2024

同样在这里,你找到解决方案了吗?
I solved it using docker

My goodness, I hadn't thought of using Docker to run a Docker image (completely ironic)

@OxygenIsland
Copy link

docker run -it lihualiu/sam-6d:1.0 bash

@Rasula404
Copy link

Hello I am able to run this command and access the container @OxygenIsland. But I cant see any files belonging to the repo. The owners have not done a good job of how we can use the docker image to get the repo. Can you please help me on how I can actually use it?

@ron007d
Copy link

ron007d commented Dec 27, 2024

  1. Docker pull
  2. run docker
docker run -it <image_name>:<tag> /bin/bash
  1. you will get (base) root@something:/
  2. acticate sam6d conda
conda activate sam6d
  1. change directory to workspace
cd workspace
  1. git clone the code the do as give
  2. in the path use full path
export CAD_PATH=$PWD/Data/Example/obj_000005.ply    # path to a given cad model(mm)
export RGB_PATH=$PWD/Data/Example/rgb.png           # path to a given RGB image
export DEPTH_PATH=$PWD/Data/Example/depth.png       # path to a given depth map(mm)
export CAMERA_PATH=$PWD/Data/Example/camera.json    # path to given camera intrinsics
export OUTPUT_DIR=$PWD/Data/Example/outputs         # path to a pre-defined file for saving results

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

6 participants