Skip to content

How to use cutmix augmentation for validation data? #3

@srikanth9444

Description

@srikanth9444

Hi, I did the data augmentation for both train and validation data, but I'm error in the below line
history=model.fit_generator(generator=train_generator,validation_data=validation_generator,steps_per_epoch=train_generator.get_steps_per_epoch(),epochs=60,callbacks=[callbacks])

(Error: -> 1122 if validation_data:
1123 val_x, val_y, val_sample_weight = (
1124 data_adapter.unpack_x_y_sample_weight(validation_data))

TypeError: 'NoneType' object cannot be interpreted as an integer)
Any help would be much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions