Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QATv2 updates, minor bug fixes #331

Merged
merged 12 commits into from
Oct 30, 2024

Conversation

oguzhanbsolak
Copy link
Contributor

Change log:
1- QATv2
2- ActionTCN, AutoEncoder, FaceID_112 and MobileFaceNet_112 models are refactored for symbolic_trace() compatibility
3- EfficientNetv2 performance optimizations
4- Bug fixes:
a- Imagenet.py -> transforms.Normalize((0.485, 0.456, 0.406), (0.229, 0.224, 0.225)) was causing most of the inputs to be out of range for ai8x.normalize()
b- Train.py -> m.are_locations_wide should be a function call
c- Train.py -> For 8 bits classification, wide tests, the output should be divided with 128 instead of 256. Also, for the wide check, named_modules() is more robust than dict search.
d- ai8x.py -> fuse_bn_layers() is using the named_modules() now, as it works with the models that have nn.sequential modules as well
e- ai8x-blocks.py -> Refactoring depthwise_conv for layer naming convention

@rotx-eva
Copy link
Contributor

rotx-eva commented Sep 5, 2024

When updating README.md, please also update README.pdf and create a matching PR in ai8x-synthesis

@oguzhanbsolak oguzhanbsolak removed the request for review from rotx-eva September 16, 2024 13:27
ai8x.py Outdated Show resolved Hide resolved
models/ai85net-actiontcn.py Outdated Show resolved Hide resolved
models/ai87net-mobilefacenet_112.py Show resolved Hide resolved
@oguzhanbsolak oguzhanbsolak force-pushed the qatv2 branch 2 times, most recently from 445a2e0 to fcbe1ff Compare September 25, 2024 14:09
ai8x.py Outdated Show resolved Hide resolved
ai8x.py Show resolved Hide resolved
ai8x.py Outdated Show resolved Hide resolved
train.py Show resolved Hide resolved
README.md Show resolved Hide resolved
train.py Show resolved Hide resolved
@oguzhanbsolak
Copy link
Contributor Author

Added "test with best checkpoint" functionality

Copy link
Contributor

@ermanok ermanok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@MaximGorkem MaximGorkem merged commit 1a45d1f into analogdevicesinc:develop Oct 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants