当前位置:网站首页>【dllogger bug】AttributeError: module ‘dllogger‘ has no attribute ‘StdOutBackend‘
【dllogger bug】AttributeError: module ‘dllogger‘ has no attribute ‘StdOutBackend‘
2022-08-03 05:27:00 【寻找永不遗憾】
1 问题描述
在看CHEX: CHannel EXploration for CNN Model Compression论文时,发现他的代码用到了dllogger模块。
直接pip install dllogger安装该模块,但运行代码时,发现报了 AttributeError: module ‘dllogger’ has no attribute ‘StdOutBackend’ 错误,如下图所示,百度也搜不到想过问题解决。
2 解决方案
此时盲猜是版本问题,但如何安装别的版本呢?
经过查阅资料,可以使用如下命令安装:
pip install git+https://github.com/NVIDIA/dllogger.git
我此时安装的版本是1.0.0,就不再有这个问题了,类似的报错,可能也是版本问题,欢迎大家尝试使用这个解决方案进行处理。
边栏推荐
猜你喜欢
随机推荐
数组与字符串8-最长回文子串
在Maya和ZBrush中制作战士模型
检测微信显示无效头像图片链接
2021-06-15
3D建模为什么会变得无处不在
C # program with administrator rights to open by default
笛卡尔积处理商品属性sku
Typora
find命令、sort命令、uniq命令
VS Project Configuration Manager
mib browser无法接收snmp trap消息解决
cobalt strike 的基础使用
9. Please introduce the class loading process, what is the parent delegation model?
Podman can learn in one piece
Nvidia NX使用向日葵远程桌面遇到的问题
使用ZBrush制作恶魔模型
mysql事务与多版本并发控制
./autogen.sh: 4: ./autogen.sh: autoreconf: not found
802.1AS 延迟测量理解
ORM框架:Dapper的使用









