You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
🐛 Bug
Flash backbones is hardcoding the global_pool argument but this isn't relevant for Visual Transformer backbones and causes them to crash
TypeError: __init__() got an unexpected keyword argument 'global_pool'
To Reproduce
model = ImageClassifier(backbone="vit_small_patch16_224", num_classes=10, serializer=Labels())
Expected behavior
global_pool should only be passed if expected model backbone should initialize and not crash
Environment
conda
,pip
, source):Additional context
The text was updated successfully, but these errors were encountered: