Closed valentinvieriu closed 3 years ago
Thanks for bringing this to my attention. I've been using previously created datasets so far and haven't had to use the dataset_tool. I thought I'd changed it correctly but I should have tested it. Sorry about that.
I'll get it working again soon.
Seems to be working again now. I've used the tool to create a raw dataset and managed to start training.
Thank you that was fast! Will give it a try this evening. I hope I can use the training without creating the tfrecords. I assume that's what this option is.
The datasets created use one tfrecord containing the raw images so it's much smaller than the full version.
Here's the command I use:
!python dataset_tool.py create_from_images_raw --res_log2=7 "/content/datasets/your_dataset_name_raw" "/path_to_your_images"
Remember to use the -res_log2 value you will use in training.
The training is setup to use raw datasets as default so you only need to use --use_raw=0 in your training command if you're not using a raw database.
Thank you for the clarifications. Now it works, it was not clear that I have to generate the tfrecords
. I thought that somehow it uses directly the images.
I'm trying to run the training with raw images, and it's failing to have a positive outcome. I suspect that _get_all_files is missing from the dataset_tool.py