Closed uoefeb closed 1 year ago
@SanniM3 Given all the changes that have been made to finetune, it's probably best that we abandon this pull request. That said, I think we still probably need to change the calculation of the number of batches to the following, so we don't round off any partial batches:
ceil(len(full_list)/batch_size)
This pull request makes a few changes to finetune.py:
int(len(videos)/batch_size)
causing the number of batches to round down to zero if the amount of data was less half the size of a batch. This pull request replaces int() with ceil(), always rounding up to the nearest full batch.prefixes
... it doesn't look like this was used anywhere in the function.in addition, this adds videos to .gitignore