Skip to content

IndexError: index-1 is out of bounds for dimension 0 with size 0 #2

@Wangxu930123

Description

@Wangxu930123

When I did the neural style transfer experiment, I added SSN as normalization layers to the CovLayer and UpsampleCovLayer of TransformerNet, and trained the TransformerNet with COCO2014 train-set .When the iteration went to 1400 times, it stopped suddenly and appeared ” IndexError: index-1 is out of bounds for dimension 0 with size 0”. With IN, neither BN, GN nor SN encountered this problem. This same problem happened when I used SSN as normalization layers to train the ResNet-50 on Cifar-100 for image classification.
Have you ever met the above problem? Can you tell me how to solve it? Thank you very much.

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