当前位置:网站首页>PolarMask is not in the models registry
PolarMask is not in the models registry
2022-04-23 03:38:00 【Blue area soldier】
This problem arises when I will PolarMask Copy your model and configuration files to the newly installed mmdetection What happens during training .
First of all, the main reason , Because PYTHONPATH There is no... In the environment variable mmdetection Under the build A subdirectory of ( Take a closer look at the installation prompts and you will be able to solve the problem )
resolvent :
- uninstall mmdetection( Or you can not uninstall ? I didn't try )
https://blog.csdn.net/jiraiya_wl/article/details/111404703 - stay ~/.bashrc Write in
( Change the path to your own )
export PYTHONPATH="/mnt/h/Experiments/Code/mmdetection-2.21.0/build/bdist.linux-x86_64/egg/:$PYTHONPATH"
- Enable environment variables
source ~/.bashrc
- reinstall mmdetection
python setup.py install develop
The solution to my problem is like this , Next, the hardware performance is not enough , The problem of adding money .
ImportError: cannot import name ‘force_fp32’
from mmdetection1 Migrate to mmdetection2
These two functions need to be imported like this
from mmcv.runner import auto_fp16, force_fp32
PolarMask: FPN: init() got an unexpected keyword argument ‘extra_convs_on_inputs’
This is mmdetection Kind of , Should put the extra_convs_on_inputs and add_extra_convs These two parameters are unified ,extra_convs_on_inputs=False Should be equal to direct
add_extra_convs=True, Specific to see fpn.py The source and
https://zhuanlan.zhihu.com/p/183098688
版权声明
本文为[Blue area soldier]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220602025199.html
边栏推荐
- 2022 团体程序设计天梯赛 模拟赛 L2-1 盲盒包装流水线 (25 分)
- Alphafpld upgrade alphafold multimer
- Picture synthesis video
- List interface of collection
- Visual programming - drawing assignment
- "Visual programming" test paper
- 标识符、关键字、数据类型
- you need to be root to perform this command
- Wechat payment iframe sub page has no response
- Leetcode 617 merge binary tree
猜你喜欢

2022 团体程序设计天梯赛 模拟赛 L2-4 哲哲打游戏 (25 分)

QT dynamic translation of Chinese and English languages

On the principle of concurrent programming and the art of notify / Park

Unity knowledge points (ugui)

Openvino only supports Intel CPUs of generation 6 and above

变量、常量、运算符

STM32 advanced timer com event

ROS series (I): rapid installation of ROS

ROS series (IV): ROS communication mechanism series (5): Service Communication Practice

淺學一下I/O流和File類文件操作
随机推荐
VS Studio 修改C语言scanf等报错
2022 团体程序设计天梯赛 模拟赛 L2-4 哲哲打游戏 (25 分)
Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
Design and implementation of redis (6): how redis achieves high availability
Instructions for fastmock
Abstract classes, interfaces and common keywords
Design and implementation of redis (2): how to handle expired keys
Design and implementation of redis (1): understand data structures and objects
L3-011 直捣黄龙 (30 分)
Software testing process
Three column layout (fixed width on both sides in the middle and fixed width on both sides in the middle)
JS - accuracy issues
Design and implementation of redis (3): persistence strategy RDB, AOF
Using jsonserialize to realize data type conversion gracefully
打卡:4.23 C语言篇 -(1)初识C语言 - (12)结构体
SQL learning record
C-11 problem h: treasure chest 2
QT dynamic translation of Chinese and English languages
Unity basics 2
Openvino only supports Intel CPUs of generation 6 and above