• 在使用BasicSR框架复现论文时,突然遇见了这样的错误,定位到错误的主要内容为TypeError: bases must be types.
  • 错误提示如下图所示:
    在这里插入图片描述
  • 下面给出报错的解决方法:降低protobuf包的版本。具体指令如下:
pip uninstall protobuf  # 在跳出的代码中选择 Y
pip install protobuf==3.20.1
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐