Skip to content

Why did you use count//batch_size*batch_size? #3

@samehraban

Description

@samehraban

In trainer.datagen.Iterator class constructor, you counted lines in csv file and then set size of dataset in this way:

count = count//batch_size*batch_size

This way you make sure that count is divisible by batch_size, but is it necessary?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions