ZK-Zhou / spikformer

ICLR 2023, Spikformer: When Spiking Neural Network Meets Transformer
MIT License
277 stars 43 forks source link

TypeError: __init__() got an unexpected keyword argument 'pretrained_cfg' #1

Closed Zhr1110 closed 2 years ago

Zhr1110 commented 2 years ago

I'm so sorry to bother you. I encountered the above problem when creating model. I want to know what may be the reason. Is it because of Timm's version?

Zhr1110 commented 2 years ago

The problem has been solved. Thank you very much!

自由魂 @.***

 

------------------ 原始邮件 ------------------ 发件人: "ZK-Zhou/spikformer" @.>; 发送时间: 2022年10月8日(星期六) 下午5:20 @.>; @.**@.>; 主题: Re: [ZK-Zhou/spikformer] TypeError: init() got an unexpected keyword argument 'pretrained_cfg' (Issue #1)

yes,timm version is 0.5.4

------------------ 原始邮件 ------------------ 发件人: "ZK-Zhou/spikformer" @.>; 发送时间: 2022年10月8日(星期六) 下午5:16 @.>; @.***>; 主题: [ZK-Zhou/spikformer] TypeError: init() got an unexpected keyword argument 'pretrained_cfg' (Issue #1)

I'm so sorry to bother you. I encountered the above problem when creating model. I want to know what may be the reason. Is it because of Timm's version?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

ZK-Zhou commented 2 years ago

yes,the version of timm we used is 0.5.4