- Email: [email protected]
robin-wzq / chinese-landscape-painting-style-transfer Goto Github PK
View Code? Open in Web Editor NEWChinese Landscape Painting style transfer by adversarial network(**山水画风格化)
License: MIT License
Chinese Landscape Painting style transfer by adversarial network(**山水画风格化)
License: MIT License
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.