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

AttributeError: 'ByobNet' object has no attribute 'global_pool' #30

Open
MichaelMonashev opened this issue Sep 4, 2021 · 1 comment

Comments

@MichaelMonashev
Copy link

В timm есть очень быстрые сетки семейства gernet_[s,m,l] взятые отсюда https://github.com/idstcv/GPU-Efficient-Networks . Они идеально подходят для поиска аугов при классификации, ибо быстрее. Например, gernet_s быстрее resnet18 примерно вдвое и даёт большую точность.
Но использовать сейчас gernet нельзя из-за ошибки, возникающей при старте поиска.
AttributeError: 'ByobNet' object has no attribute 'global_pool'

Вот код gernet-ов: https://github.com/rwightman/pytorch-image-models/blob/master/timm/models/byobnet.py

@yustiks
Copy link

yustiks commented Jun 19, 2022

В timm есть очень быстрые сетки семейства gernet_[s,m,l] взятые отсюда https://github.com/idstcv/GPU-Efficient-Networks . Они идеально подходят для поиска аугов при классификации, ибо быстрее. Например, gernet_s быстрее resnet18 примерно вдвое и даёт большую точность. Но использовать сейчас gernet нельзя из-за ошибки, возникающей при старте поиска. AttributeError: 'ByobNet' object has no attribute 'global_pool'

Вот код gernet-ов: https://github.com/rwightman/pytorch-image-models/blob/master/timm/models/byobnet.py

аналогичная проблема. Получилось решить?

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

No branches or pull requests

2 participants