Skip to content

[BUG] Bug in NextVit reparameterize #2187

Closed
@chuong98

Description

@chuong98

Describe the bug
When I do reparameterize the model NextViT for onnx export, it returns the error: self.norm(x). None Object is not callable.

I believe line 200 of file https://github.com/huggingface/pytorch-image-models/blob/main/timm/models/nextvit.py
should be
self.norm = nn.Identity() instead of self.norm = None

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions