MinfengZhu / DM-GAN

MIT License
187 stars 64 forks source link

R_precision: why 10 in sum = np.zeros(10) #21

Open DzienBakanae opened 3 years ago

DzienBakanae commented 3 years ago

Hi there! Would be awesome if you can explain why do we initiate sum as array of length 10 for bird captions? I guess in case of coco the sum length will be different, right?

To be more precise I am referring to code/trainer.py ........................................................................................................ if R_count >= 30000: sum = np.zeros(10) .........................................................................................................