Giter VIP home page Giter VIP logo

Comments (7)

draconidsmxz avatar draconidsmxz commented on May 27, 2024 2

Sorry for late replay. This never happens on my machine. Maybe this is related to your tqdm version.
Would you please check this issue, see if it fixs your problem.

from alphaction.

draconidsmxz avatar draconidsmxz commented on May 27, 2024 2

I still can't reproduce the bug you described. Everything works fine on my machine

Would you please provide me with your video?

If not, here are some steps to help us locate the problem.

  1. Please try to reinstall the whole project and redownload the weights. I also recommand you to recreate a conda environment follwing the guide in INSTALL.md and try again. If the problem persists, please refer to the following steps.

  2. The AVAPredictorWorker class in demo/action_predictor.py is responsible for labels prediction. You can insert prints between line 293 and line 294 to check if it gives correct prediction. Like this

predictions = self.ava_predictor.compute_prediction(center_timestamp//self.interval, video_size)
print(predicitons)  # new line
self.output_queue.put((predictions, center_timestamp, ids))
  • If it doesn't not give the correct prediction. Please open a new issue and report its results to us.
  • If it gives the correct prediction. Please refer to step 3
  1. The AVAVisualizer in demo/visualizer.py is responsible for results visualization and AVAVisualizer.action_dictionary saves the action of every detected person. You can check its stats by printing its content
    For example between line 303 and line 304
self.update_action_dictionary(scores, ids)
print(self.action_dictionary,  scores, ids)  # new line
last_visual_mask = self.visual_result(boxes, ids)
  • Please open a new issue and report its results.

from alphaction.

draconidsmxz avatar draconidsmxz commented on May 27, 2024

This error is new to me. Does this error always happen or just occasionally? Only to this video or it happens to other videos too?

If possible, please provide more information on how to reproduce this error so that we can locate this problem. Thank you.

from alphaction.

Raven-D avatar Raven-D commented on May 27, 2024

it's always happened,

GPU INFO: Tesla P100 , Driver Version: 418.67 CUDA Version: 10.1
SYSTEM: Linux version 4.4.0-31-generic (buildd@lgw01-16) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1) )
CMD: CUDA_VISIBLE_DEVICES=0 python demo.py --video-path ../kf001.mp4 --output-path ../kf002.mp4

version:
torch : 1.2.0
torchvision : 0.4.0
tqdm: 4.19.9
yacs: 0.1.7
tensorboardX: 1.9
numpy: 1.18.0
av: 8.0.2
cython-bbox: 0.1.3
easydict: 1.9
opencv-python: 4.1.1.26
scipy: 1.2.1

and it's happened on more than 1 mp4 files.

the infor of kf001.mp4:
dimensions: 960 x 448
codec: H.264
framerate: 30 frames per second
bitrate: 1004 kbps

from alphaction.

Raven-D avatar Raven-D commented on May 27, 2024

and the kf002.mp4 could be outputed successfully, but I can only see the tracking frame, no action-type tags existed, even it raised an exception in Thread-1.

from alphaction.

Raven-D avatar Raven-D commented on May 27, 2024

Sorry for late replay. This never happens on my machine. Maybe this is related to your tqdm version.

Would you please check this issue, see if it fixs your problem.

yes, it works, by upgrading the tqdm to version 4.32.2, thank u very much!

from alphaction.

Raven-D avatar Raven-D commented on May 27, 2024

But I can't see the action-type tags in the outputted video by running the CMD: CUDA_VISIBLE_DEVICES=0 python demo.py --video-path ../kf001.mp4 --output-path ../kf002.mp4 --cfg-path ../config_files/resnet101_8x8f_denseserial.yalm --weight-path ../data/models/aia_models/resnet101_8x8f_denseserial.pth

only some tracking frames(box) on picture.

I had putted [yolov3-app.weights, jde.uncertainty.pt] into folder "AlphaAction/AlphaAction/data/models/detector_models/".

Did I miss something?

from alphaction.

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.