Comments (5)
The concatenation of DATA_DIR
and DATASET
should be the path to your tfrecords folder. For example, if the path of your tfrecords is ~/datasets/custom/custom.tfrecords
, you can set --data-dir=~/datasets --dataset=custom
from co-mod-gan.
Thank you very much for your help. I'm a novice. Today I want to use ffhq data set for training, but I encountered the following problems. I would appreciate it if you could help me.
I have the original ffhq dataset (1024*1024,.png). Should I put these pictures in "/datasets"? And use "create_from_images.py" to generate into "/datasets/ffhq/ffhq-r10.tfrecords"? For example,I typed "python dataset_tools/create_from_images.py --tfrecord-dir=./datasets/ffhq --train-image-dir=./datasets --shuffle --compressed
" on the command line.
But then I used the files generated in this way for training, and the result failed. In addition, the file size of the ".tfrecords" I generated is 0KB, which I find very strange.
I'm sorry if there is any interruption.
from co-mod-gan.
You can directly download ffhq-r10.tfrecords
without using create_from_images.py
.
from co-mod-gan.
Thanks for your help. Unfortunately, I am in China and cannot download the dataset from Google Drive. So I can only make it myself.
from co-mod-gan.
OK I see... --compressed
only works for JPEG images, so you can remove this option and try again.
from co-mod-gan.
Related Issues (20)
- General to arbitary image size HOT 3
- Custom data training HOT 1
- Getting IndexError while Running run_metrics.py with Places2 HOT 7
- Issue when running run_generator.py (input depth must be evenly divisible by filter depth: 6 vs 4) HOT 17
- Error when running in Colab HOT 1
- Issue with run_generator.py HOT 3
- I have a problem running run_generator.py HOT 3
- Use of Normalization Layers in Encoder HOT 2
- Issue when running create_from_images.py HOT 2
- Getting error when running run_training.py with custom dataset HOT 5
- Training with custom mask dataset
- An error occurred when running run_generator.py HOT 2
- image size problem HOT 3
- Value error HOT 2
- running error HOT 2
- "interactive web demo" HOT 3
- Places2 dataset
- Out of memory using U-IDS/P-IDS metrics
- New easy to use symmetric face inpainting code
- Please Add a requirement.txt file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from co-mod-gan.