当前位置:网站首页>Project (5) - Small target detection tph-yolov5
Project (5) - Small target detection tph-yolov5
2022-07-31 02:40:00 【birch without tears】
1. Environment installation
1. Create an environmentconda create -n yolo python=3.7conda activate yolo2. Install pytorchconda install pytorch torchvision cudatoolkit=11.3 -c pytorch3. Clone the codegit clone https://github.com/cv516Buaa/tph-yolov5cd tph-yolov5pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt4. yolov5 reports AttributeError: 'Upsample' object has no attribute 'recompute_scale_factorExecute the corresponding command according to your own computer cuda# CUDA 10.2conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=10.2 -c pytorch# CUDA 11.3conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=11.3 -c pytorch -c conda-forge# CPU Onlyconda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cpuonly -c pytorch
2. Data download
Datasets: [VisDrone](http://aiskyeye.com/download/object-detection-2/)
Weights(PyTorchv1.10):
yolov5l-xs-1.pt: (https://pan.baidu.com/s/1APETgMoeCOvZi1GsBZERrg)
yolov5l-xs-2.pt: (https://pan.baidu.com/s/19S84EevP86yJIvnv9KYXDA)
3. Test
python detect.py --source ./data/images/ --weights weights/yolov5l-xs-1.pt --conf 0.4
边栏推荐
- 基于opencv实现人脸检测
- multiplayer-hlap 包有问题,无法升级的解决方案
- Observer mode (1)
- JetPack组件Databinding
- AI software development process in medical imaging field
- mycat的主从关系 垂直分库 水平分表 以及mycat分片联表查询的配置详解(mysql5.7系列)
- The application of AI in the whole process of medical imaging equipment
- Introduction to flask series 】 【 flask - using SQLAlchemy
- Drools basic introduction, introductory case, basic syntax
- Clustering index, and what is the difference between a clustering index
猜你喜欢
LeetCode 1161 The largest element in the layer and the LeetCode road of [BFS binary tree] HERODING
There is a problem with the multiplayer-hlap package and the solution cannot be upgraded
Static route analysis (the longest mask matching principle + active and standby routes)
Problems that need to be solved by the tcp framework
Manchester City confuses fans with smart scarf that detects emotions
7. List of private messages
Real-time image acquisition based on FPGA
局域网电脑硬件信息收集工具
How to do a startup CTO?
【Android】Room —— SQLite的替代品
随机推荐
The simulation application of common mode inductance is here, full of dry goods for everyone
cudaMemcpy study notes
The modification is not properly placed in the sandbox, causing Apple compatibility issues
CorelDRAW2022精简亚太新增功能详细介绍
The principle of complete replication of virtual machines (cloud computing)
Unity界面总体介绍
Fiddler captures packets to simulate weak network environment testing
【Android】Room —— SQLite的替代品
Modbus on AT32 MCU
Introduction and use of Drools WorkBench
Hanyuan Hi-Tech 8-channel HDMI integrated multi-service high-definition video optical transceiver 8-channel HDMI video + 8-channel two-way audio + 8-channel 485 data + 8-channel E1 + 32-channel teleph
Software Testing Defect Reporting - Definition, Composition, Defect Lifecycle, Defect Tracking Post-Production Process, Defect Tracking Process, Purpose of Defect Tracking, Defect Management Tools
The difference between link and @import
Difference between CMOS and TTL?
Go 项目实战-获取多级分类下的全部商品
There is a problem with the multiplayer-hlap package and the solution cannot be upgraded
[1153] The boundary range of between in mysql
汉源高科8路HDMI综合多业务高清视频光端机8路HDMI视频+8路双向音频+8路485数据+8路E1+32路电话+4路千兆物理隔离网络
Face detection based on opencv
mycat的主从关系 垂直分库 水平分表 以及mycat分片联表查询的配置详解(mysql5.7系列)