Unable to use different number of images
See original GitHub issueHello. I am using hd - celeba 384 dataset with provided 384_shortcut1_inject1_none_hd model. I am trying to use custom number of images instead of using all 202599 images. I tried to do the following: modify list_attr_celeba.txt file to only include first 20 images and put these 20 images in ./data/img_crop_celeba/*.jpg. However, this is the error I get:
TypeError: Input 'filename' of 'ReadFile' Op has type float32 that does not match expected type of string.
I also tried to train with only 20 images and get the same error. I get no errors when running train/test for all 202599 images.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Unable to share name and photo in iMessage - Apple ID ...
I receive the following error, "Sharing Name and Photo is not available because multiple phone numbers are associated to your Apple ID.
Read more >Why you might have a different count of images in Photos in ...
Why you might have a different count of images in Photos in different places · Choose File > New Smart Album. · Choose...
Read more >Images not loading on iPhone? Here's how to fix it
Are images not loading in iMessage, Safari, and other iPhone apps? Check out all the reliable solutions to fix this issue.
Read more >How To Fix People Not Getting Picture Messages ... - YouTube
Maybe this has happened with sending an MMS to another device, too? Well, it seems that sometimes this has something to do with...
Read more >Fix Unable to Open JPEG Image - Unsupported File on ...
Learn how you can fix unable to open JPEG image on Android phone with error unsupported file message.FOLLOW US ON TWITTER: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This
TypeErrormay be caused by imporperlist_attr_celeba.txtfile (your customlist_attr_celeba.txtshould have 40 labels in each line as the raw one). Also note that you should modify the numbers in data.py to fit your dataset. https://github.com/LynnHo/AttGAN-Tensorflow/blob/1792df6851c7e4d09bf0f1c9f5155fd7b0618d18/data.py#L197-L208That makes sense, thank you. Also, not to spam issues I will just ask here. What do I need to modify to save each new image separately rather than all in one file. I tried changing some code in lines 84 - 105 in test.py. However, I get different errors such as
'Tensor' object has no attribute.