当前位置:网站首页>Although pycharm is marked with red in the run-time search path, it does not affect the execution of the program
Although pycharm is marked with red in the run-time search path, it does not affect the execution of the program
2022-07-01 06:15:00 【Martian radish】
stay pycharm The following package cannot be found in the Interim Report from models.yolo_layer import YoloLayer, But the path for searching packets has been imported in the front of this line , The runtime does not report an error , It's just pycharm When analyzing the static code structure, the red flag indicates that the package cannot be found import os import sys PACKAGE_PARENT = '..' SCRIPT_DIR = os.path.dirname(os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__)))) sys.path.append(os.path.normpath(os.path.join(SCRIPT_DIR, PACKAGE_PARENT))) from models.yolo_layer import YoloLayer from models.darknet_utils import parse_cfg, print_cfg, load_fc, load_conv_bn, load_conv from utils.torch_utils import to_cpu
边栏推荐
- Oracle create user + Role
- Smartinstantiationawarebeanpostprocessor of the extension point series determines which construction method to execute - Chapter 432
- Pla ne colle pas sur le lit: 6 solutions simples
- SystemVerilog学习-06-类的封装
- DEV XPO对比之UOW
- 【ManageEngine卓豪】用统一终端管理助“欧力士集团”数字化转型
- freeswitch拨打分机号
- 交换机配置软件具有的作用
- 图片服务器项目测试
- 分布式锁实现
猜你喜欢

机械臂速成小指南(六):步进电机驱动器

高阶-二叉平衡树

指数法和Random Forest实现山东省丰水期地表水体信息

FPGA - 7系列 FPGA内部结构之Clocking -02- 时钟布线资源

Pla ne colle pas sur le lit: 6 solutions simples

freeswitch拨打分机号

Diagramme dynamique Excel

Solve the problem of garbled files uploaded by Kirin v10

3D printer threading: five simple solutions

π disk, turning your computer into a personal private cloud
随机推荐
Cjc8988 Low Power Stereo codec with 2 stereo headphone drivers
【ManageEngine卓豪】移动终端管理解决方案,助力中州航空产业数字化转型
Solve the problem of garbled files uploaded by Kirin v10
Tidb database characteristics summary
FPGA - 7系列 FPGA内部结构之Clocking -01- 时钟架构概述
Using Baidu map to query national subway lines
three. JS summary
相同区域 多源栅格数据 各个像元行列号一致,即行数列数相同,像元大小相同
OpenGL es: (2) relationship between OpenGL es, EGL and glsl
Pychart configuring jupyter
Arcserver password reset (account cannot be reset)
【文件系统】如何在ubi之上运行squashfs
【ManageEngine卓豪 】助力世界顶尖音乐学院--茱莉亚学院,提升终端安全
Timer based on LabVIEW
Projects and dependencies in ABP learning solutions
Movable mechanical wall clock
IT服务管理(ITSM)在高等教育领域的应用
skywalking集成nacos动态配置
three.js小结
Restframework-simplejwt rewrite authentication mechanism