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

I have problems, in executing the code. Can i get some more guidance on running the code #29

Open
devasenan134 opened this issue Jun 16, 2023 · 1 comment

Comments

@devasenan134
Copy link

Can you guide me through, running this code in my local Jupyter notebook from start to end.

@HardikJain02
Copy link

Follow this! After this you might get error if you are running on cloud machine. (related to displaying the result, download the result instead)

git clone https://github.com/leVirve/lsun-room.git
conda create --name lsun
conda activate lsun
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip install -r requirements.txt [remove versions from requirements.txt]
mkdir checkpoint
cd checkpoint
gdown https://drive.google.com/uc?id=1aUJoXM9SQMe0LC38pA8v8r43pPOAaQ-a
cd ..
pip install loguru
cd trainer
git clone https://github.com/leVirve/OneGan.git
cd OneGan
pip install -e .
cd ..
cd ..
run this: python demo.py image --weight {checkpoint_path} --path {image_filepath}

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

2 participants