Giter VIP home page Giter VIP logo

chinese-landscape-painting-style-transfer's Introduction

𝗛𝗲𝗹𝗹𝗼 𝗜'𝗺 Robin Waving Hand

Welcome to my repositories. Hope you can enjoy everything here!

chinese-landscape-painting-style-transfer's People

Contributors

robin-wzq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

daobook

chinese-landscape-painting-style-transfer's Issues

training directory structure / training with 2 images

Hi, i tried to train a model from scratch. When running pix2pix.py i get this error

(base) PS C:\NEURAL\Chinese-Landscape-Painting-Style-Transfer> python pix2pix.py
Namespace(epoch=0, n_epochs=200, dataset_name='alice', batch_size=2, lr=0.0002, b1=0.5, b2=0.999, decay_epoch=100, n_cpu=8, img_height=512, img_width=512, channels=3, sample_interval=3000, img_size=512, checkpoint_interval=5, output_path='pictures', texture_path='train_data/', latent_dim=256, n_critic=5, clip_value=0.01)
Traceback (most recent call last):
File "C:\NEURAL\Chinese-Landscape-Painting-Style-Transfer\pix2pix.py", line 67, in
dataset = FramesDataset(opt,dataset='alice',transform=transform)
File "C:\NEURAL\Chinese-Landscape-Painting-Style-Transfer\Frames_dataset.py", line 44, in init
assert(len(self.fnames)==len(self.fnames2))
AssertionError

I have these folders in my root:

--->train_data
------->Harvard
----------->canny&HED1.jpg
----------->canny&HED2.jpg

Where do i have to put the actual "alice" folder? with Alice-->Harvard-->img1 and so on...?
Is it possible to train with only two images?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.