Comments (7)
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.
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.
-
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.
-
The
AVAPredictorWorker
class indemo/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
- The
AVAVisualizer
indemo/visualizer.py
is responsible for results visualization andAVAVisualizer.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.
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.
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.
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.
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.
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)
- INSTALL.md Issue when running pip install -e . HOT 4
- Train on custom dataset HOT 1
- Init weight for DenseSerialIAStructure
- RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation HOT 2
- The detection person box of UCF24 using Faster RCNN in this paper
- TypeError: conv3d() received an invalid combination of arguments HOT 5
- Problem during installation
- No module named 'alphaction._custom_cuda_ext'
- THC/THC.h: No such file or directory HOT 1
- Access to download the data HOT 1
- key frames HOT 4
- windows system HOT 1
- boxes annotation HOT 1
- json files HOT 1
- Duplicate Modle Zoo to Baidu Netdisk
- Can we use this for JHMDB dataset ?
- difference between the realtime and non-realtime inference
- Error while Training HOT 1
- OSError: cannot open resource
- size mismatch HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alphaction.