We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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?
The text was updated successfully, but these errors were encountered: