I have problems, in executing the code. Can i get some more guidance on running the code
devasenan134 opened this issue · 1 comments
devasenan134 commented
Can you guide me through, running this code in my local Jupyter notebook from start to end.
HardikJain02 commented
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}