Closed juefeiyuan closed 6 years ago
The tfrecord files are just a kind of leveldb, and you can find pretty a lot of tutorials on how to build them. The necessary fields are all in data_processing/extract_images.py
.
I will try to find the script I used when I get back to my computer later this week, if you need it.
Yes, I need it, I am new to this field, I'll wait for your response, thank you so much.
Hi, Dr. Chen, Did you find the script to build the .tfrecord files? Thank you for your kindly help.
Hi, i created a gist here. It is the one I used to convert Sketchy Database into tfrecords. The csv file used in the script is just used to select which classes I want. You can use any other methods to do the same.
Hi, Dr. Chen, Thank you so much for your help
Hi, Dr. Chen, I myself have some pairs of sketches and images files, how could I generate the .tfrecord file myself and use your code to run? Thank you