leandro-svg / yolov7_segmentation_tensorrt Goto Github PK
View Code? Open in Web Editor NEWThe real-time Instance Segmentation Algorithm Yolov7 running on TensoRT and ONNX
License: GNU General Public License v3.0
The real-time Instance Segmentation Algorithm Yolov7 running on TensoRT and ONNX
License: GNU General Public License v3.0
Hello, i would like to know if a tiny version for segmentation exists? I have used TensorRT to optimize my model but i would like to have a little more of speed.
Thanks
C:\Users\16550.conda\envs\yolo1\python.exe E:\yolo\Yolov7_Segmentation_Tensorrt-main\segment_image.py
Loading E:\yolo\Yolov7_Segmentation_Tensorrt-main\yolov7_fp16.engine for TensorRT inference...
[04/11/2023-20:33:54] [TRT] [I] [MemUsageChange] Init CUDA: CPU +350, GPU +0, now: CPU 10896, GPU 912 (MiB)
Deserializing engine...
[04/11/2023-20:33:54] [TRT] [I] Loaded engine size: 89 MiB
[04/11/2023-20:33:54] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[04/11/2023-20:33:54] [TRT] [I] [MemUsageChange] TensorRT-managed allocation in engine deserialization: CPU +0, GPU +88, now: CPU 0, GPU 88 (MiB)
[04/11/2023-20:33:54] [TRT] [I] [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +133, now: CPU 0, GPU 221 (MiB)
Engine Loaded.
TensorRT inference begins !
0%| | 0/17 [00:00<?, ?it/s][ WARN:[email protected]] global loadsave.cpp:244 cv::findDecoder imread_('.'): can't open/read file: check file path/integrity
0%| | 0/17 [00:00<?, ?it/s]
Traceback (most recent call last):
File "E:\yolo\Yolov7_Segmentation_Tensorrt-main\segment_image.py", line 261, in
origin_img = pred.inference(arg_input)
File "E:\yolo\Yolov7_Segmentation_Tensorrt-main\segment_image.py", line 184, in inference
real_image = img_.copy()
AttributeError: 'NoneType' object has no attribute 'copy'
Process finished with exit code 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.