当前位置:网站首页>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
边栏推荐
- Leetcode 617 merge binary tree
- Problem C: realize Joseph Ring with linked list
- Unity knowledge points (ugui 2)
- ROS series (IV): ROS communication mechanism series (5): Service Communication Practice
- 淺學一下I/O流和File類文件操作
- Visual programming - drawing assignment
- Visual programming - Experiment 2
- [microservices] (x) -- Unified gateway
- 【微服务】(十)—— 统一网关Gateway
- Key point detection of human hand based on mediapipe
猜你喜欢

抽象类、接口、常用关键字

Mechanical design knowledge point planning

ROS series (IV): ROS communication mechanism series (2): Service Communication
![[microservices] (x) -- Unified gateway](/img/f8/0c4516a802086cbe4031183b27a775.jpg)
[microservices] (x) -- Unified gateway

淺學一下I/O流和File類文件操作

Visual programming - Experiment 1

Un aperçu des flux d'E / s et des opérations de fichiers de classe de fichiers

2022 团体程序设计天梯赛 模拟赛 L2-1 盲盒包装流水线 (25 分)

A sword is a sword. There is no difference between a wooden sword and a copper sword

Design and implementation of redis (4): what is the event driver of redis
随机推荐
Several common methods of multithreading
C set
Variables, constants, operators
A hundred dollars for a hundred chickens
Mechanical design knowledge point planning
2022 group programming ladder simulation l2-1 blind box packaging line (25 points)
Common net HP UNIX system FTP server listfiles returns null solution.
Unity games and related interview questions
Cmake qmake simple knowledge
Database - MySQL -- Navicat import SQL error 1067 - invalid default value for 'paydate‘
Detailed explanation on the use of annotation tool via (VGg image annotator) in mask RCNN
"Visual programming" test paper
L3-011 direct attack Huanglong (30 points)
Initial experience of talent plan learning camp: communication + adhering to the only way to learn open source collaborative courses
Identifier, keyword, data type
Application and definition of interface
Openvino only supports Intel CPUs of generation 6 and above
VS Studio 修改C语言scanf等报错
第四次作业
Create virtual machine