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

AWS Server #62

Open
harinath101515 opened this issue May 14, 2024 · 10 comments
Open

AWS Server #62

harinath101515 opened this issue May 14, 2024 · 10 comments

Comments

@harinath101515
Copy link

It is possible to run on AWS server

@theguaz
Copy link

theguaz commented May 14, 2024

I'm running it on a g5.8xlarge right now

@harinath101515
Copy link
Author

I'm running it on a g5.8xlarge right now

are you using the git hub repository or you paid for the membership

@theguaz
Copy link

theguaz commented May 14, 2024

I just launched a g5 instance on my personal AWS account, then logged in using SSH and used it as any other computer, costs are not cheap tho.

@harinath101515
Copy link
Author

I'm running it on a g5.8xlarge right now

i am talking about source code which source code you are using , are you using git hub source code or your brought 1 click installer scripts from https://www.patreon.com/ this website

@theguaz
Copy link

theguaz commented May 14, 2024

this exact repo, ny steps where like this;

Step 1: Clone the repository
git clone https://github.com/yisol/IDM-VTON

Step 2: Navigate inside the cloned repository
cd IDM-VTON

Step 3: Create virtual environment ( conda or venv)

Step 4: Activate virtual environment ( conda or venv)

Step 5: Install requirements using the yaml file, and also onnxruntime fpr Linux in my case

Step 6: Download checkpoints

  1. IDM-VTON\ckpt\densepose
    https://huggingface.co/yisol/IDM-VTON/tree/main/densepose

  2. IDM-VTON\ckpt\humanparsing (parsing_atr.onnx and parsing_lip.onnx)
    https://huggingface.co/levihsu/OOTDiffusion/tree/main/checkpoints/humanparsing

  3. IDM-VTON\ckpt\openpose\ckpts
    https://huggingface.co/lllyasviel/ControlNet/blob/main/annotator/ckpts/body_pose_model.pth

Step 7: Download VTON models
mkdir yisol
cd yisol
git lfs install
git clone https://huggingface.co/yisol/IDM-VTON

Step 8: Launch the gradio UI
venv\scripts\activate
python gradio_demo/app.py

@harinath101515
Copy link
Author

I need to try these all steps in aws g5

this exact repo, ny steps where like this;

Step 1: Clone the repository git clone https://github.com/yisol/IDM-VTON

Step 2: Navigate inside the cloned repository cd IDM-VTON

Step 3: Create virtual environment ( conda or venv)

Step 4: Activate virtual environment ( conda or venv)

Step 5: Install requirements using the yaml file, and also onnxruntime fpr Linux in my case

Step 6: Download checkpoints

  1. IDM-VTON\ckpt\densepose
    https://huggingface.co/yisol/IDM-VTON/tree/main/densepose
  2. IDM-VTON\ckpt\humanparsing (parsing_atr.onnx and parsing_lip.onnx)
    https://huggingface.co/levihsu/OOTDiffusion/tree/main/checkpoints/humanparsing
  3. IDM-VTON\ckpt\openpose\ckpts
    https://huggingface.co/lllyasviel/ControlNet/blob/main/annotator/ckpts/body_pose_model.pth

Step 7: Download VTON models mkdir yisol cd yisol git lfs install git clone https://huggingface.co/yisol/IDM-VTON

Step 8: Launch the gradio UI venv\scripts\activate python gradio_demo/app.py

if i try these steps in aws g5 is it working

@harinath101515
Copy link
Author

harinath101515 commented May 16, 2024 via email

@FurkanGozukara
Copy link

i have a full cloud tutorial may help you : https://youtu.be/LeHfgq_lAXU

@nitinmukesh
Copy link

nitinmukesh commented May 17, 2024

g5.8xlarge

I just checked the price. You could buy a very high end PC at that price. Unable to understand why are you paying such huge price?

2500 dollars for 1 hour
https://instances.vantage.sh/aws/ec2/g5.8xlarge?region=us-east-1&os=linux&cost_duration=hourly&reserved_term=Standard.noUpfront

@brenogibson
Copy link

g5.8xlarge

I just checked the price. You could buy a very high end PC at that price. Unable to understand why are you paying such huge price?

2500 dollars for 1 hour https://instances.vantage.sh/aws/ec2/g5.8xlarge?region=us-east-1&os=linux&cost_duration=hourly&reserved_term=Standard.noUpfront

It is 2,5 USD per hour, not 2 thousand

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

5 participants