🌱 I’m currently focusing on MOT ...
gmt710 / alphapose_yolovx Goto Github PK
View Code? Open in Web Editor NEWAlphaPose_yolovx include yolov3, yolov4, yolov5.
License: Other
AlphaPose_yolovx include yolov3, yolov4, yolov5.
License: Other
Thanks for your work!When i run with the command of sh ./scripts/inference.sh ${CONFIG} ${CHECKPOINT} ${VIDEO_NAME},a error occur as follow:
Traceback (most recent call last):
File "scripts/demo_inference.py", line 13, in
from detector.apis import get_detector
ModuleNotFoundError: No module named 'detector'
Do you know how to solve this question?
how to change the yolov5x.pt to my own yolov5 trained pt
my command is :
python scripts/demo_inference.py --cfg configs/coco/resnet/256x192_res50_lr1e-3_1x.yaml --checkpoint pretrained_models/fast_res50_256x192.pth --indir pic_in_dir --outdir pic_out_dir --showbox --save_img --pose_track --sp --vis_fast --detector yolov5
my virtuenv is success like yours
the error is like below:
Thanks for your wonderful project
can u share us the ideas how to change the yolov3-spp to yolov3、yolov4、yolov5 ?
such as the key steps or key code where modified is important?
hi,when i take "python setup.py build develop --user",there is an error like that:
detector/nms/src/nms_cuda.cpp:4:23: error: ‘AT_CHECK’ was not declared in this scope
#define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
i dont konw how to do ?can you help me?
command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin\nvcc.exe' failed with exit code 2
(1)使用yolov3检测没有问题,使用yolov4检测出现出错误
(torch) D:\Code\AlphaPose_yolovx-master>python scripts/demo_inference.py --cfg configs/coco/resnet/256x192_res50_lr1e-3_2x.yaml --checkpoint pretrained_models/fast_res50_256x192.pth --indir examples/demo/ --detector yolov4 --vis --showbox
Traceback (most recent call last):
File "scripts/demo_inference.py", line 175, in <module>
det_loader = DetectionLoader(input_source, get_detector(args), cfg, args, batchSize=args.detbatch, mode=mode, queueSize=args.qsize)
File "D:\Code\AlphaPose_yolovx-master\detector\apis.py", line 17, in get_detector
from detector.yolov4_api import YOLOV4Detector as det
File "D:\Code\AlphaPose_yolovx-master\detector\yolov4_api.py", line 15, in <module>
from yolo_v4.detect import Detector
File "D:\Code\AlphaPose_yolovx-master\detector\yolo_v4\detect.py", line 4, in <module>
from yolov4.tool.class_names import COCO_NAMES
ModuleNotFoundError: No module named 'yolov4'
(2)使用yolov5检测出现出错误
(torch) D:\Code\AlphaPose_yolovx-master>python scripts/demo_inference.py --cfg configs/coco/resnet/256x192_res50_lr1e-3_2x.yaml --checkpoint pretrained_models/fast_res50_256x192.pth --indir examples/demo/ --detector yolov5 --vis --showbox
Loading YOLOV5 model..
Loading pose model from pretrained_models/fast_res50_256x192.pth...
0%| | 0/16 [00:00<?, ?it/s]Fusing layers...
Exception in thread Thread-2:
Traceback (most recent call last):
File "D:\learn\Anaconda3\envs\torch\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "D:\learn\Anaconda3\envs\torch\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "D:\Code\AlphaPose_yolovx-master\alphapose\utils\detector.py", line 223, in image_detection
dets = self.detector.images_detection(imgs, im_dim_list)
File "D:\Code\AlphaPose_yolovx-master\detector\yolov5_api.py", line 102, in images_detection
dets = self.dynamic_write_results(prediction, self.confidence,
File "D:\Code\AlphaPose_yolovx-master\detector\yolov5_api.py", line 122, in dynamic_write_results
dets = self.write_results(prediction.clone(), confidence, num_classes, nms, nms_conf)
File "D:\Code\AlphaPose_yolovx-master\detector\yolov5_api.py", line 218, in write_results
ious = bbox_iou(max_detections[-1], image_pred_class[1:], x1y1x2y2=False, CIoU=True)
File "D:\Code\AlphaPose_yolovx-master\detector\yolov5\utils\general.py", line 210, in bbox_iou
b1_x1, b1_x2 = box1[0] - box1[2] / 2, box1[0] + box1[2] / 2
IndexError: index 2 is out of bounds for dimension 0 with size 1
Hello, thanks for your nice work!
my command is python scripts/demo_inference.py --cfg configs/coco/resnet/256x192_res50_lr1e-3_2x-dcn.yaml --checkpoint pretrained_models/fast_dcn_res50_256x192.pth --indir test_img --outdir examples/demo/ --showbox --save_img --pose_track --vis_fast --detector yolov5
but something is wrong said: error in deformable_im2col: invalid device function 段错误 (核心已转储)
Could someone do me a favor?
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.