greerviau / sketch-artist Goto Github PK
View Code? Open in Web Editor NEWA Tensorflow implementation of a Conditional GAN for generating human faces from a text description.
License: MIT License
A Tensorflow implementation of a Conditional GAN for generating human faces from a text description.
License: MIT License
Few issues I faced when I tried to run the code on Google Colab:
Issue 1:
Loading: 000001.jpg - Loaded: 0Traceback (most recent call last):
File "/content/Sketch-Artist/CGAN.py", line 346, in
cgan.train()
File "/content/Sketch-Artist/CGAN.py", line 92, in train
self.celebA.load_data()
File "/content/Sketch-Artist/utils.py", line 42, in load_data
h, w, c = image.shape
AttributeError: 'NoneType' object has no attribute 'shape'
Issue 2:
File "/content/Sketch-Artist/CGAN.py", line 346, in
cgan.train()
File "/content/Sketch-Artist/CGAN.py", line 83, in train
self.saver.restore(sess, self.model_dir+self.version+'/'+self.version+'.ckpt')
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/saver.py", line 1282, in restore
checkpoint_prefix)
ValueError: The passed save_path is not a valid checkpoint: model/face_gen_per_batch_filtered_4/face_gen_per_batch_filtered_4.ckpt
Issue 3:
File "/content/Sketch-Artist/CGAN.py", line 346, in
cgan.train()
File "/content/Sketch-Artist/CGAN.py", line 117, in train
train_images, real_labels = self.celebA.get_next_batch(batch)
File "/content/Sketch-Artist/utils.py", line 88, in get_next_batch
length = len(self.data)
TypeError: object of type 'NoneType' has no len()
I am new to GANs. Kindly help me resolve these issues. Thanks
Dataset URL in readme.md is invalid (404) and needs needs to be updated to https://www.kaggle.com/jessicali9530/celeba-dataset/download
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.