Questions about training data format "ratio"
Thank you for the wonderful work.
I am trying to ft the model on my own data, and I find there is a field "ratio" in data format, e.g., ratio=1.502145922746781 in configs/data/training_example.json. What does this ratio mean? How are these numbers calculated?
Besides, there is another ratio in configs/data/image2image_s1.yaml scale: 1 ratio: 1.0. What is the difference between this scale ratio and ratio in training_example.json?
Hi! Sorry for the delayed reply. The value ratio=1.502145922746781 is calculated from w and h, representing the aspect ratio (width-to-height ratio). In the YAML file, however, ratio refers to data repetition count. For example, if ratio=2, the data will appear twice per epoch.