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

Confusion #8

Closed
zm-bisp opened this issue Nov 21, 2022 · 10 comments
Closed

Confusion #8

zm-bisp opened this issue Nov 21, 2022 · 10 comments

Comments

@zm-bisp
Copy link

zm-bisp commented Nov 21, 2022

Not familiar with docker. Do I need to install docker first before following all the setup steps?

BTW, how to run this program on servers without root access, I tried the code:
make/docker_pull
make/shell_docker
but permission denied

thanks
: )

@ShuhongChen
Copy link
Owner

Do I need to install docker first before following all the setup steps?

Hello, yes you'd need to install docker first; this includes nvidia-docker-2 if you plan on using gpu

but permission denied

Yeah, I think sudo is hardcoded into the docker parts; to be honest I've never gotten nonsudo docker to work on my machines, unfortunately not familiar with how to use without sudo

What server app are you making? If you don't need production-quality deployment and you have conda/venv, probably easier to just follow the lines of the dockerfile to create an environment

@WasedaMagina
Copy link

I installed this repo without docker.

  1. run the demo
  2. it will give you an import error like "No module named detectron2"
  3. pip install the module and go back to step 1.

@zm-bisp
Copy link
Author

zm-bisp commented Nov 22, 2022

Thanks!
I am using a server in my lab without sudo. I think maybe I can run this on a Windows laptop with a nvdia graphic card?

@ShuhongChen
Copy link
Owner

Windows laptop with a nvdia graphic card

The repo hasn't been tested on Windows ever, but following @WasedaMagina method will probably work for you; I think most dependencies aren't that out of the ordinary

@DHG-Dav
Copy link

DHG-Dav commented Nov 23, 2022

Windows laptop with a nvdia graphic card

The repo hasn't been tested on Windows ever, but following @WasedaMagina method will probably work for you; I think most dependencies aren't that out of the ordinary

Wait what ? I ran it on windows from the very beginning (issue #5 ), i had zero problem to do it and haven't even needed to edit anything, created an anaconda env, installed the dependencies through PIP... it just worked effortlessly. (win10 with RTX3060 12GB X4)
So... it works on windows i can confirm that ^^
(PS : i didn't update you because my project is taking longer than expected, i'm creating a "digital" database (from blender characters) that automatically retrieve the 3D coordinates of each joint while rendering (for a total of 130ish joints), then i plan to adapt a bit your code to this database, and i'm working on other projects at the same time...)

@ShuhongChen
Copy link
Owner

Cool, thanks for confirming on Windows, glad to hear it works; sounds like an interesting project, please share when ready

@zm-bisp
Copy link
Author

zm-bisp commented Nov 24, 2022

Windows laptop with a nvdia graphic card

The repo hasn't been tested on Windows ever, but following @WasedaMagina method will probably work for you; I think most dependencies aren't that out of the ordinary

Wait what ? I ran it on windows from the very beginning (issue #5 ), i had zero problem to do it and haven't even needed to edit anything, created an anaconda env, installed the dependencies through PIP... it just worked effortlessly. (win10 with RTX3060 12GB X4) So... it works on windows i can confirm that ^^ (PS : i didn't update you because my project is taking longer than expected, i'm creating a "digital" database (from blender characters) that automatically retrieve the 3D coordinates of each joint while rendering (for a total of 130ish joints), then i plan to adapt a bit your code to this database, and i'm working on other projects at the same time...)

Hi, I am trying to pull this off on windows, but having difficulties with installing detectron2. Should I directly pip install detectron2 or there are some tricks to follow? I also tried the cmd lines on detectron2 official website. return weird errors.

@DHG-Dav
Copy link

DHG-Dav commented Nov 24, 2022

To be honest, i don't really remember, i think i already had detectron2 installed for testing it long before trying bizarre-pose-estimator, maybe that's why i had no problem ?
detectron2 has to be installed by hand, check their github maybe.
As far as i remember i just followed the explanations given by Shuhong Chen and it worked, i did nothing special.
Sorry i can't help you more.

@ShuhongChen
Copy link
Owner

Should I directly pip install detectron2 or there are some tricks to follow?

I remember detectron2 being somewhat annoying to compile from source, but the prebuilt pip was pretty straightforward, (should be this line in the dockerfile)

@ShuhongChen
Copy link
Owner

Oh, just saw the prebuilt is linux only... unless you get a linux docker working on windows, you'll probably need to build from source:
https://detectron2.readthedocs.io/en/latest/tutorials/install.html#build-detectron2-from-source

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

4 participants