当前位置:网站首页>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 三维点云
更多三维、二维感知算法和金融量化分析算法请关注“乐乐感知学堂”微信公众号,并将持续进行更新。
边栏推荐
- XX attack - reflective XSS attack hijacking user browser
- Adding color blocks to Seaborn clustermap matrix
- XX攻击——反射型 XSS 攻击劫持用户浏览器
- String coordinates of number to excel
- EDA开源仿真工具verilator入门6:调试实例
- CPU设计实战-第四章实践任务一简单CPU参考设计调试
- The data analyst will be ruined without project experience. These 8 project resources will not be taken away
- The use of word in graduation thesis
- [getting started] enter the integer array and sorting ID, and sort its elements in ascending or descending order
- Gateway-88
猜你喜欢

CPU design practice - Chapter 4 practical tasks - simple CPU reference design and debugging
![[untitled]](/img/d9/5e97f2de256b9749131b5bf1437d24.png)
[untitled]

CPU設計實戰-第四章實踐任務一簡單CPU參考設計調試

機動目標跟踪——當前統計模型(CS模型)擴展卡爾曼濾波/無迹卡爾曼濾波 matlab實現
![[redis] it takes you through redis installation and connection at one go](/img/ca/89cb18f0eeb835f021d6a2489681a1.png)
[redis] it takes you through redis installation and connection at one go

2022.2.15

Maneuvering target tracking -- current statistical model (CS model) extended Kalman filter / unscented Kalman filter matlab implementation

Mavros sends a custom topic message to Px4

Intelligent water and fertilizer integrated control system
![[getting started] intercepting strings](/img/16/363baa4982408f55493057200bcba5.png)
[getting started] intercepting strings
随机推荐
CPU設計實戰-第四章實踐任務一簡單CPU參考設計調試
【Redis】一气呵成,带你了解Redis安装与连接
[getting started] input n integers and output the smallest K of them
The data analyst will be ruined without project experience. These 8 project resources will not be taken away
Embedded-c language-10-enumeration / (function) pointer (function) / multi-level pointer /malloc dynamic allocation / file operation
Redis publish subscription
Yolov5 advanced six target tracking environment construction
Leetcode t29: divide two numbers
Leetcode t31: next spread
uni 热更新
Using settoolkit to forge sites to steal user information
Chinese font Gan: zi2zi
Leetcode t39: combined sum
SPL-安装与基本使用(二)
量化交易之读书篇 - 《征服市场的人》读书笔记
Provincial election + noi Part III tree problems
To prevent "activation" photos from being muddled through, databao "live detection + face recognition" makes face brushing safer
P4 安装bmv2 详细教程
Learn the knowledge you need to know about the communication protocol I2C bus
[question brushing] character statistics [0]
