Skip to content

SSIM update does not work for the last batch (if batch size is different) #2532

@vinayak015

Description

@vinayak015

🐛 Bug description

Screenshot 2022-03-28 at 4 27 36 PM

Environment

  • PyTorch Version :1.10.1
  • Ignite Version ():0.4.8
  • OS : Ubuntu
  • How you installed Ignite (conda, pip, source):
  • Python version: 3.9
  • Any other relevant information:

If the previous batch and the current batch are different then it throws the error. Attaching the screen shot of error.

Screenshot of the basic code is also attached.
Screenshot 2022-03-28 at 7 04 08 PM

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions