当前位置:网站首页>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 三维点云
更多三维、二维感知算法和金融量化分析算法请关注“乐乐感知学堂”微信公众号,并将持续进行更新。
边栏推荐
- CPU設計實戰-第四章實踐任務一簡單CPU參考設計調試
- Provincial election + noi Part III tree problems
- Airsim雷达相机融合生成彩色点云
- DID的使用指南,原理
- XX attack - reflective XSS attack hijacking user browser
- XX攻击——反射型 XSS 攻击劫持用户浏览器
- [getting started] extract non repeating integers
- 【力扣10天SQL入门】Day10 控制流
- 01 NumPy介绍
- To prevent "activation" photos from being muddled through, databao "live detection + face recognition" makes face brushing safer
猜你喜欢

shardingSphere
![[staff] key number (key number identification position | key number marking list | a major key identification principle | F, C, G position marking ascending | F major key identification principle | B](/img/48/e98d01830867baa742574e1b6e1096.jpg)
[staff] key number (key number identification position | key number marking list | a major key identification principle | F, C, G position marking ascending | F major key identification principle | B

华为机试真题专栏订阅指引
![[question brushing] character statistics [0]](/img/cc/f5aaecd920c502180303d92447e54f.png)
[question brushing] character statistics [0]

【js逆向】md5加密参数破解

Intelligent constant pressure irrigation system

When using charts to display data, the time field in the database is repeated. How to display the value at this time?

Gateway-88

Intelligent water and fertilizer integrated control system

网关gateway-88
随机推荐
Why are some Wills made by husband and wife invalid
Learn the knowledge you need to know about the communication protocol I2C bus
leetcode T31:下一排列
EDA open source simulation tool verilator beginner 6: debugging examples
[getting started] intercepting strings
Book of quantitative trading - reading notes of the man who conquers the market
机动目标跟踪——当前统计模型(CS模型)扩展卡尔曼滤波/无迹卡尔曼滤波 matlab实现
slice扩容机制分析
Instead of houses, another kind of capital in China is rising
Agrometeorological environment monitoring system
Download jackson codehaus. org jar - downloading jackson. codehaus. org jar
Deep learning systematic learning
Anddroid 文本合成语音TTS实现
There are many problems in sewage treatment, and the automatic control system of pump station is solved in this way
Gateway-88
Stack implementation calculator
[redis] it takes you through redis installation and connection at one go
Intelligent water conservancy solution
Five combination boxing, solving six difficult problems on campus and escorting the construction of educational informatization
Leetcode t34: find the first and last positions of elements in a sorted array
