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

Novice Help #24

Open
Diplomatic-Capybara opened this issue Aug 10, 2024 · 7 comments
Open

Novice Help #24

Diplomatic-Capybara opened this issue Aug 10, 2024 · 7 comments

Comments

@Diplomatic-Capybara
Copy link

Cannot get gradio to work

===

more importantly; run.py produces the following, then quits
Please advise thank you

===

usage: run.py [-h] [--device DEVICE] [--pretrained-model PRETRAINED_MODEL] [--foreground-ratio FOREGROUND_RATIO] [--output-dir OUTPUT_DIR] [--texture-resolution TEXTURE_RESOLUTION] [--remesh_option {none,triangle, quad}] [--batch_size BATCH_SIZE] image [image ...]
run.py: error: the following arguments are required: image

trim1.mp4
@jammm
Copy link
Contributor

jammm commented Aug 14, 2024

For run.py, you should open a terminal window first, change directory to the folder where you cloned this repository, and then type the run.py command as described on the README:

python run.py demo_files/examples/chair1.png --output-dir output/

It appears however that you want to run the gradio demo. So you should instead follow the command for gradio_app.py instead:
python gradio_app.py

Make sure you have followed the installation instructions as well, i.e., Python, pytorch, CUDA, and the dependencies listed in the requirements.txt files.

@jaedmunt
Copy link

When I install requirements.txt, I consistently encounter a build failure with gpytoolbox.

Using a ubuntu on AWS, CUDA enabled.

What gives? I have nothing else in venv and only install reqs but it never works....

For run.py, you should open a terminal window first, change directory to the folder where you cloned this repository, and then type the run.py command as described on the README:

python run.py demo_files/examples/chair1.png --output-dir output/

It appears however that you want to run the gradio demo. So you should instead follow the command for gradio_app.py instead:

python gradio_app.py

Make sure you have followed the installation instructions as well, i.e., Python, pytorch, CUDA, and the dependencies listed in the requirements.txt files.

@jammm
Copy link
Contributor

jammm commented Aug 26, 2024

Can you share the build logs of the failure?

@jaedmunt
Copy link

jaedmunt commented Aug 26, 2024 via email

@jaedmunt
Copy link

Can you share the build logs of the failure?

#1

what system has worked for you so I can choose a compatible instance?

@jammm
Copy link
Contributor

jammm commented Aug 26, 2024

Well, if the issue is similar to the one in #1, then yes, give it Ubuntu 22.04 a try.

@jaedmunt
Copy link

Well, if the issue is similar to the one in #1, then yes, give it Ubuntu 22.04 a try.

Many thanks, Jamm. Booted one up on the lower version last night and dependencies installed without error. Just fiddling with CUDA drivers and I should be good to go.

Safe to say for anyone having a similar issue to avoid version 24 Ubuntu.

Thanks for the suggestion.

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

3 participants