BUG-AttributeError: ‘EnforcedForest‘ object has no attribute ‘node‘

File "/home/adt/miniconda3/envs/bevdet/lib/python3.7/site-packages/trimesh/scene/transforms.py", line 224, in nodes_geometry

'geometry' in self.transforms.node[n]):

AttributeError: 'EnforcedForest' object has no attribute 'node'

networkx 2.6.3 pypi_0 pypi

本专栏为深度学习的一些技巧,方法和实验测试,偏向于实际应用,后续不断更新,感兴趣童鞋可关,方便后续推送

现象

在使用mmdet3d可视化时,第一帧正常,第二帧保错如下:

cpp 复制代码
File "/home/xxx/miniconda3/envs/bevdet/lib/python3.7/site-packages/trimesh/scene/transforms.py", line 224, in nodes_geometry
    'geometry' in self.transforms.node[n]):
AttributeError: 'EnforcedForest' object has no attribute 'node'

分析

networkx版本有问题,原版本为2.2,现在为2.6.3

解决方法

conda install networkx==2.2

相关推荐
%d%d22 天前
undefined reference to CPUAllocatorSingleton::instance
bug
gxn_mmf4 天前
典籍知识问答重新生成和消息修改Bug修改
前端·bug
千里马学框架5 天前
重学安卓14/15自由窗口freeform企业实战bug-学员作业
android·framework·bug·systrace·安卓framework开发·安卓窗口系统·自由窗口
Bear on Toilet6 天前
Bug日记——实现“日期类”
开发语言·c++·bug
Direction_Wind6 天前
flinksql bug : Max aggregate function does not support type: CHAR
bug
mg6686 天前
Python Bug 修复案例分析:多线程数据竞争引发的bug 两种修复方法
bug
黎猫大侠7 天前
一次Android Fragment内存泄露的bug解决记录|Fragment not attach to an Activity
android·bug
七七小报7 天前
uniapp-商城-48-后台 分类数据添加修改弹窗bug
uni-app·bug
windwind20007 天前
发行基础:本地化BUG导致审核失败
游戏·青少年编程·编辑器·bug·创业创新·玩游戏
Htht1117 天前
【Qt】之【Bug】点击按钮(ui->pushButton)触发非本类设置的槽函数
qt·ui·bug