google-research / mixmatch

Apache License 2.0
1.13k stars 163 forks source link

question about mixmatch/scripts/create_split.py line113-130 #35

Closed hzhz2020 closed 3 years ago

hzhz2020 commented 3 years ago

Dear Authors

From my understanding, line 113-130 in create_split.py is indeed writing all the samples that are not in label (a set of labels for the chosen for the labeled set) to the -unlabel.tfrecord. I am wondering why did you separate this part into two parts: 'else: ...' (from line 113- 120) and 'for remain in class_data' (from line 1226-130). Did I miss anything?

Thanks a lot!