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