iT邦幫忙

0

TypeError: __init__() got an unexpected keyword argument 'channels'

  • 分享至 

  • xImage

code來源: https://github.com/eriklindernoren/PyTorch-GAN
images來源: http://mmlab.ie.cuhk.edu.hk/projects/CelebA.html
我正在執行GitHub上的code,但在implementations/context_encoder中的context_encoder.py這個檔案我一直出現TypeError: init() got an unexpected keyword argument 'channels'的錯誤,我有事著將channels排除,但依然會出現同樣的錯誤,請問有人知道該怎麼排除這樣的錯誤讓code可以順利執行嗎?

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答