当前位置:网站首页>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
边栏推荐
- The principle of complete replication of virtual machines (cloud computing)
- YOLOV5学习笔记(二)——环境安装+运行+训练
- YOLOV5 study notes (3) - detailed explanation of network module
- 全流程调度——MySQL与Sqoop
- 英特尔软硬优化,赋能东软加速智慧医疗时代到来
- Software accumulation -- Screenshot software ScreenToGif
- multiplayer-hlap 包有问题,无法升级的解决方案
- [1153] The boundary range of between in mysql
- 10、Redis实现点赞(Set)和获取总点赞数
- mysql view
猜你喜欢
Difference between CMOS and TTL?
Live Preview | KDD2022 Doctoral Dissertation Award Champion and Runner-up Dialogue
工程(五)——小目标检测tph-yolov5
Coldfusion file read holes (CVE - 2010-2861)
系统需求多变如何设计
php 网站的多语言设置(IP地址区分国内国外)
StringJoiner详解
The whole process scheduling, MySQL and Sqoop
16. Registration Center-consul
8. Unified exception handling (controller notifies @ControllerAdvice global configuration class, @ExceptionHandler handles exceptions uniformly)
随机推荐
Intranet Infiltration - Privilege Escalation
STM32CUBEMX develops GD32F303 (11) ---- ADC scans multiple channels in DMA mode
The real CTO is a technical person who understands products
Uninstallation of mysql5.7.37 under CentOS7 [perfect solution]
7、私信列表
mysql index
Observer mode (1)
关于 mysql8.0数据库中主键位id,使用replace插入id为0时,实际id插入后自增导致数据重复插入 的解决方法
开题报告之论文框架
Go 项目实战-获取多级分类下的全部商品
Mathematics to solve the problem - circular linked list
Static routing + PAT + static NAT (explanation + experiment)
Installation, start and stop of redis7 under Linux
Brute Force/Adjacency List Breadth First Directed Weighted Graph Undirected Weighted Graph
execsnoop tool
ShardingJDBC usage summary
What level of software testing does it take to get a 9K job?
Static route analysis (the longest mask matching principle + active and standby routes)
Software testing basic interface testing - getting started with Jmeter, you should pay attention to these things
CorelDRAW2022精简亚太新增功能详细介绍