Git Product home page Git Product logo

Comments (8)

flydragon2018 avatar flydragon2018 commented on May 18, 2024 1

I changed to another mp4 file. It works.
so It is about video file format problem.

from yolox.

flydragon2018 avatar flydragon2018 commented on May 18, 2024

the video demo is not working.

from yolox.

GOATmessi7 avatar GOATmessi7 commented on May 18, 2024

please show us your log.

from yolox.

flydragon2018 avatar flydragon2018 commented on May 18, 2024

2021-07-22 07:18:44 | INFO | main:219 - Args: Namespace(camid=0, ckpt='/content/YOLOX/yolox_x.pth.tar', conf=0.3, demo='video', exp_file=None, experiment_name='yolox_x', fp16=False, fuse=False, name='yolox-x', nms=0.65, path='/content/YOLOX/holo1.mp4', save_result=True, trt=False, tsize=640)
/usr/local/lib/python3.7/dist-packages/torch/nn/functional.py:718: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at /pytorch/c10/core/TensorImpl.h:1156.)
return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
2021-07-22 07:18:46 | INFO | main:229 - Model Summary: Params: 99.07M, Gflops: 281.93
2021-07-22 07:18:49 | INFO | main:240 - loading checkpoint
2021-07-22 07:18:50 | INFO | main:245 - loaded checkpoint done.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56022396a000] moov atom not found
VIDIOC_REQBUFS: Inappropriate ioctl for device
2021-07-22 07:18:50 | INFO | main:183 - video save_path is ./YOLOX_outputs/yolox_x/vis_res/2021_07_22_07_18_50/holo1.mp4

from yolox.

flydragon2018 avatar flydragon2018 commented on May 18, 2024

image works fine.

2021-07-22 06:59:07 | INFO | main:219 - Args: Namespace(camid=0, ckpt='yolox_s.pth.tar', conf=0.3, demo='image', exp_file=None, experiment_name='yolox_s', fp16=False, fuse=False, name='yolox-s', nms=0.65, path='assets/dog.jpg', save_result=True, trt=False, tsize=640)
/usr/local/lib/python3.7/dist-packages/torch/nn/functional.py:718: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at /pytorch/c10/core/TensorImpl.h:1156.)
return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
2021-07-22 06:59:08 | INFO | main:229 - Model Summary: Params: 8.97M, Gflops: 26.81
2021-07-22 06:59:11 | INFO | main:240 - loading checkpoint
2021-07-22 06:59:11 | INFO | main:245 - loaded checkpoint done.
2021-07-22 06:59:12 | INFO | main:128 - Infer time: 0.6857s
2021-07-22 06:59:12 | INFO | main:165 - Saving detection result in ./YOLOX_outputs/yolox_s/vis_res/2021_07_22_06_59_11/dog.jpg

from yolox.

flydragon2018 avatar flydragon2018 commented on May 18, 2024

very strange. I am using colab. video files by wget directly not working. however if I downloaded the video file and upload to google drive, then cp from there, it works.

network transport problem?

from yolox.

nocolour avatar nocolour commented on May 18, 2024

(env) E:\Projects\YOLOX>python tools/demo.py video -n yolox-s -c ./yolox_s.pth --path assets/test.mp4 --conf 0.25 --nms 0.45 --tsize 640 --save_result --device gpu
2021-09-30 14:22:28.848 | INFO | main:main:255 - Args: Namespace(camid=0, ckpt='./yolox_s.pth', conf=0.25, demo='video', device='gpu', exp_file=None, experiment_name='yolox_s', fp16=False, fuse=False, legacy=False, name='yolox-s', nms=0.45, path='assets/test.mp4', save_result=True, trt=False, tsize=640)
2021-09-30 14:22:29.065 | INFO | main:main:265 - Model Summary: Params: 8.97M, Gflops: 26.81
2021-09-30 14:22:31.811 | INFO | main:main:278 - loading checkpoint
2021-09-30 14:22:31.958 | INFO | main:main:282 - loaded checkpoint done.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000027cd4592c80] moov atom not found
2021-09-30 14:22:32.359 | INFO | main:imageflow_demo:222 - video save_path is ./YOLOX_outputs\yolox_s\vis_res\2021_09_30_14_22_31\test.mp4

"moov atom not found"

all video have same problem. this is a bug!

from yolox.

nocolour avatar nocolour commented on May 18, 2024

I tested with yolov5 never have this type a problem

from yolox.

Related Issues (20)

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.