-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when run run_all_pipeline.py #5
Comments
To solve this it requires to add the src folder into |
Thanks, I've solved. But when I try again, I got this: Does it mean I have opencv install inside the virtual environment ? my machine has OPENCV install. Thank u very much. |
This means that OpenCV is not able to open the file. The usual setup is to create a virtual environment with If you have already done this, take a look to the video where this exception is happening and maybe it can be due to incompatibility or file being damaged. |
(theano3) ailab@ailab-All-Series:~/HAR/activitynet-2016-cvprw-master$ python scripts/run_all_pipeline.py -i data/activitynet/GCtrfXIBbwA.mp4 I also tried about it but it's still not working |
Hi,
Something wrong for activity localization, do you know why? Thanks |
I don't know exactly what is something wrong
I guess that keras version is different or uninstalled numpy
this is my result on my computer
[image: 본문 이미지 1]
I execute this program on keras102 version
so if you want to install keras102 version run this instruction
pip install git+git://github.com/fchollet/[email protected]
2017-02-24 19:09 GMT+09:00 thomhert <[email protected]>:
… Hi,
When running run_all_pipeline.py, i got these errors:
Classification:
0.9505 Dodgeball
0.0040 Rope skipping
0.0024 Breakdancing
0.0013 Futsal
0.0011 Belly dance
Traceback (most recent call last):
File "scripts/run_all_pipeline.py", line 188, in <module>
args.activity_threshold
File "scripts/run_all_pipeline.py", line 73, in run_all_pipeline
activity_threshold
File "/.../.../data/theano/activitynet-2016-cvprw-master/src/processing.py", line 52, in activity_localization
scores.append(np.mean(sequence_class_prob[s:e,activity_idx]))
TypeError: slice indices must be integers or None or have an __index__ method
Something wrong for activity localization, do you know why? Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYW6W2Nw50efUf1yybQP3FOyHgjRZ2_Cks5rfqxggaJpZM4LV_nU>
.
|
Classification: Same problem after run run_all_pipeline.py. Any solution please? |
Which version of Numpy are you using? I have checked and with version 1.11.2 should work. If not try to print the values of |
@albertomontesg hello, I have a question to ask you. I want to use your model to train my own dataset, so i need to get the dataset/video.json . what should i do to get the video.json or dataset? I am looking forward your reply,thank you! |
I get the following error while trying to execute run_all_pipeline.py: Traceback (most recent call last): |
I have solved the previous error, but now I am getting a new error: |
I think you should Change your backend,the default backend is tensorflow.
…------------------ 原始邮件 ------------------
发件人: "kousik97";<[email protected]>;
发送时间: 2017年5月31日(星期三) 下午2:08
收件人: "imatge-upc/activitynet-2016-cvprw"<[email protected]>;
抄送: "0℃的温度"<[email protected]>; "Comment"<[email protected]>;
主题: Re: [imatge-upc/activitynet-2016-cvprw] Error when runrun_all_pipeline.py (#5)
I have solved the previous error, but now I am getting a new error:
Please help me.
Using TensorFlow backend.
Reading Video...
Duration: 130.6s
FPS: 30.0
Number of frames: 3919
Loading C3D network...
Traceback (most recent call last):
File "scripts/run_all_pipeline.py", line 188, in
args.activity_threshold
File "scripts/run_all_pipeline.py", line 40, in run_all_pipeline
model = C3D_conv_features(True)
File "scripts/run_all_pipeline.py", line 99, in C3D_conv_features
trainable=False))
File "/usr/local/lib/python2.7/dist-packages/keras/layers/convolutional.py", line 448, in init
' is currently only working with Theano backend.')
Exception: Convolution3D is currently only working with Theano backend.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thank you so much. Using Theano backend. |
I am getting error can anyone please solve this : |
hey @kousik97 how did u solve this error |
Yeah, I solved it. The problem is the io.py in src directory. Rename the io.py to io1.py and correspondingly change the places in which io is used. That worked for me. Meanwhile, are you using GPU to run the demo? |
I am getting this error, please help or suggest something |
@mdasifjalal |
nope, that is not the problem. I think, it was a version mismatch . |
Duration: 6.6s Layer (type) Output Shape Param # Connected tofeatures (InputLayer) (1, 1, 4096) 0 normalization (BatchNormalization) (1, 1, 4096) 8192 features[0][0] dropout_1 (Dropout) (1, 1, 4096) 0 normalization[0][0] lsmt1 (LSTM) (1, 1, 512) 9439232 dropout_1[0][0] dropout_2 (Dropout) (1, 1, 512) 0 lsmt1[0][0] fc (TimeDistributed) (1, 1, 201) 103113 dropout_2[0][0]Total params: 9550537 Predicting... any guesses why i get this error and how can i correct it? |
Predicting... Why am I encountering this error? Please somebody help me out in this. |
hi,
|
How should i use backend to Theano? i am using Ubuntu 16.4? (venv) asad@asad-Z370P-D3:~/activitynet-2016-cvprw$ python scripts/run_all_pipeline.py -i data/vid2.mp4 |
@kousik97 i also have same error. can you tell me please how to change backend to theano? i am using ubuntu . |
Hi, Can you tell me how to change backend to theano? I am using Ubuntu. |
I resolved the backend problem but now i am getting this error. Can anyone guide me please. (venv) asad@asad-Z370P-D3:~/activitynet-2016-cvprw$ python scripts/run_all_pipeline.py -i data/vid2.mp4 |
Hi, I have resolved other problems but now I am getting this error while running run_all_pipeline.py (venv) asad@asad-Z370P-D3:~/activitynet-2016-cvprw$ python scripts/run_all_pipeline.py -i data/vid2.mp4 ERROR (theano.gof.opt): SeqOptimizer apply <theano.sandbox.cuda.dnn.NoCuDNNRaise object at 0x7f3576714610> Traceback (most recent call last): |
Hello! I have the same problem. Can you teach me how to solve it? |
Using Theano backend.
Traceback (most recent call last):
File "scripts/run_all_pipeline.py", line 8, in
from src.data import import_labels
ImportError: No module named src.data
The text was updated successfully, but these errors were encountered: