当前位置:网站首页>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
边栏推荐
- Vscode delete uninstall residue
- JS takes out the same elements in two arrays
- Section 2 map and structure in Chapter 6
- 浅学一下I/O流和File类文件操作
- Unity knowledge points (common core classes)
- L3-011 direct attack Huanglong (30 points)
- Software testing process
- Instructions for fastmock
- Leetcode punch in diary day 01
- ROS series (IV): ROS communication mechanism series (5): Service Communication Practice
猜你喜欢
Detailed explanation on the use of annotation tool via (VGg image annotator) in mask RCNN
常用的辅助类
淺學一下I/O流和File類文件操作
SQL learning record
PYMOL-note
C interface
Visual programming - Experiment 1
51 single chip microcomputer: D / a digital to analog conversion experiment
Wechat applet canvas draws a simple asymptotic color of the dashboard
Identifier, keyword, data type
随机推荐
2022 团体程序设计天梯赛 模拟赛 1-8 均是素数 (20 分)
2022 group programming ladder simulation match 1-8 are prime numbers (20 points)
Create virtual machine
PyMOL usage
Picture synthesis video
2022 团体程序设计天梯赛 模拟赛 L2-1 盲盒包装流水线 (25 分)
The art of concurrent programming (5): the use of reentrantlock
Activity supports multi window display
Concepts of objects and classes
【微服务】(十)—— 统一网关Gateway
Three types of jump statements
"Visual programming" test paper
L3-011 直捣黄龙 (30 分)
ROS series (IV): ROS communication mechanism series (2): Service Communication
Chapter 8 exception handling, string handling and file operation
Vs studio modifies C language scanf and other errors
Idea debug debugging tutorial
Alphafpld upgrade alphafold multimer
ROS series (II): ROS quick experience, taking HelloWorld program as an example
7-3 poly width