当前位置:网站首页>TypeError: __init__() got an unexpected keyword argument ‘autocompletion‘
TypeError: __init__() got an unexpected keyword argument ‘autocompletion‘
2022-07-01 08:16:00 【Coding的叶子】
1 TypeError: __init__() got an unexpected keyword argument 'autocompletion'
在使用mmclassification的时候会出现该错误,看起来是哪里的自动补全出了问题。在报错的文件里会有一大堆与click相关的内容。
造成这个错误的原因是click版本不匹配,可以按照下述命令重新安装更低版本的click。
pip install click==7.1.22 TypeError: 'NoneType' object is not iterable
在安装mmclassification也会出现该错误,详细错误信息如下:
File "/root/anaconda3/envs/openmmlab/lib/python3.7/site-packages/mim/commands/search.py", line 169, in get_model_info
dataframe = convert2df(metadata)
File "/root/anaconda3/envs/openmmlab/lib/python3.7/site-packages/mim/commands/search.py", line 357, in convert2df
for result in results:
TypeError: 'NoneType' object is not iterable解决方法是在357前增加if results is None: continue。如下所示:
if results is None:
continue
for result in results:3 mmclassification 安装方式
conda create -n openmmlab python=3.7 -y
conda activate openmmlab
pip install torch==1.8.1+cu101 torchvision==0.9.1+cu101 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
pip3 install openmim
mim install mmcv-full
git clone https://github.com/open-mmlab/mmclassification.git
#如果github连接不上,可用gittee替换。
#git clone https://gitee.com/monkeycc/mmclassification.git
cd mmclassification
pip install -v -e .
具体请参考博客:https://blog.csdn.net/suiyingy/article/details/125452839。
4 【python三维深度学习】python三维点云从基础到深度学习_Coding的叶子的博客-CSDN博客_python 三维点云
更多三维、二维感知算法和金融量化分析算法请关注“乐乐感知学堂”微信公众号,并将持续进行更新。
边栏推荐
- Download jackson codehaus. org jar - downloading jackson. codehaus. org jar
- 软键盘高度报错
- shardingSphere
- Provincial selection + noi Part II string
- Comprehensive experiment Li
- Tita OKR: a dashboard to master the big picture
- 手工挖XSS漏洞
- Leetcode T29: 两数相除
- There are many problems in sewage treatment, and the automatic control system of pump station is solved in this way
- MATLAB小技巧(16)矩阵特征向量特征值求解一致性验证--层次分析
猜你喜欢

Manually dig XSS vulnerabilities

Learn reptiles for a month and earn 6000 a month? Tell you the truth about the reptile, netizen: I wish I had known it earlier

Airsim雷达相机融合生成彩色点云

Adding color blocks to Seaborn clustermap matrix
![[getting started] extract non repeating integers](/img/88/3e96df88e980bd98ac112b18a8678c.png)
[getting started] extract non repeating integers

Connect timed out of database connection
![[introduction] approximate value](/img/6b/597178d848dd21110f36601fc31092.png)
[introduction] approximate value
![[getting started] enter the integer array and sorting ID, and sort its elements in ascending or descending order](/img/87/07783593dbabcf29700fa207ecda08.png)
[getting started] enter the integer array and sorting ID, and sort its elements in ascending or descending order

P4 安装bmv2 详细教程

软键盘高度报错
随机推荐
[getting started] input n integers and output the smallest K of them
【js逆向】md5加密参数破解
7-26 word length (input and output in the loop)
Yolov5进阶之六目标追踪环境搭建
Koltin35, headline Android interview algorithm
Book of quantitative trading - reading notes of the man who conquers the market
使用beef劫持用户浏览器
使用threejs简单Web3D效果
Erreur de hauteur du clavier souple
2022.2.15
slice扩容机制分析
【力扣10天SQL入门】Day10 控制流
Yolov5进阶之七目标追踪最新环境搭建
一套十万级TPS的IM综合消息系统的架构实践与思考
MAVROS发送自定义话题消息给PX4
OJ输入输出练习
How to prevent the other party from saying that he has no money after winning the lawsuit?
01 NumPy介绍
Yolov5 advanced six target tracking environment construction
Hijacking a user's browser with beef
