当前位置:网站首页>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 pytorch2. 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
边栏推荐
- Maximum area of solar panel od js
- The difference between link and @import
- Force buckled brush the stairs (7/30)
- STM32CUBEMX开发GD32F303(11)----ADC在DMA模式下扫描多个通道
- Intel's software and hardware optimization empowers Neusoft to accelerate the arrival of the era of smart medical care
- 【CV项目调试】CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT问题
- TCP/IP四层模型
- The application of AI in the whole process of medical imaging equipment
- 8、统一处理异常(控制器通知@ControllerAdvice全局配置类、@ExceptionHandler统一处理异常)
- AI中的数学思想
猜你喜欢

图解lower_bound&upper_bound

CMOS和TTL的区别?

Difference between CMOS and TTL?

【银行系列第一期】中国人民银行

7、私信列表

The principle of complete replication of virtual machines (cloud computing)

分布式与集群是什么 ? 区别是什么?

What level of software testing does it take to get a 9K job?

Real-time image acquisition based on FPGA

CentOS7下mysql5.7.37的安装【完美方案】
随机推荐
Observer mode (1)
【Android】Room —— SQLite的替代品
19.支持向量机-优化目标和大间距直观理解
AI software development process in medical imaging field
The application of AI in the whole process of medical imaging equipment
BAT卖不动「医疗云」:医院逃离、山头林立、行有行规
Linux下redis7的安装,启动与停止
CMOS和TTL的区别?
General introduction to the Unity interface
Refuse to work overtime, a productivity tool set developed by programmers
The effective square of the test (one question of the day 7/29)
8. Unified exception handling (controller notifies @ControllerAdvice global configuration class, @ExceptionHandler handles exceptions uniformly)
php 网站的多语言设置(IP地址区分国内国外)
AI在医疗影像设备全流程应用
mysql view
多线程下类对象的服务承诺探讨
Modbus on AT32 MCU
mmdetection trains a model related command
There is a problem with the multiplayer-hlap package and the solution cannot be upgraded
TCP/IP四层模型