Giter VIP home page Giter VIP logo

alphapose_yolovx's Introduction

Hi there 👋

🌱 I’m currently focusing on MOT ...

alphapose_yolovx's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

alphapose_yolovx's Issues

No module named 'detector'

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?

error: ‘AT_CHECK’ was not declared in this scope

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?

运行yolov4 和 yolov5 失败

(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

error in deformable_im2col: invalid device function 段错误 (核心已转储)

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.