This is a demo project for NN course at NTNU in 2023.
-
Install the requirements.
pip install -r requirements.txt
-
Run the server.
python server.py
-
The website url will be shown in the console.
-
You may change the server code in
server.py
for it to load other model if you want.
-
Download the real-world image dataset from COCO website. Put the images in
/dataset/train2014
folder. -
Download the anime images from Studio Ghibli website. Put the images in
/dataset/ghibli_pics
folder. -
If you wish to load the file or save the results in your desired path, change the code in
train.py
file. -
Install the requirements and run
train.py
.