-
Notifications
You must be signed in to change notification settings - Fork 45
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
extract flow problem #21
Comments
I have the same question....have you solved it? |
no..... i give up |
oh..I will try again |
check your opencv with cuda and the tvl1_videoframes.cpp. I re-cmake the opencv and now it's ok~ |
@VincentWPJ Hi, I wonder if you saw something like "sh: 1: /home/ncrasto/code/workspace/action-recog-release/utils1/tvl1_videoframes: not found" when you fixed the issue and started to extract flows. Below is my screenshot for your reference. Thank you in advance |
I figured I need to change the executable path in |
Thank you very much. Do you have an RGB training model for HMDB51-2 and 3 partitioned datasets as following RGB_HMDB51_64f.pth,I want to check the accuracy of MARS+RGB model on HMDB51 over 3 splits.
在 2021-03-10 21:00:39,hzs ***@***.***> 写道:
I think this problem can be solved by changing the code in extract_frames_flows.py as following:
# extract flows os.system('export CUDA_VISIBLE_DEVICES=%d; /home/ncrasto/code/workspace/action-recog-release/utils1/tvl1_videoframes "%s" %d "%s" ' % ( gpu, os.path.join(outdir, '%05d.jpg'), nframes, os.path.join(outdir, '%05d_flow256crop.flo')))
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I think the author should be clear about the version of OpenCV,because dynamically linked libraries vary from version to version,which causes the program (tvl1_videoframes.cpp) has been compiling failure.
CMAKE_INSTALL_PREFIX :Your installation directory.
The command is a little different from official commad between L${OPENCV}lib and L${OPENCV}lib64, which dicided by the version of opencv.
To run through the programm of extracting optical flow takes my two days. However,I found it is Intolerably slow. |
I have a question about flow, in the extract_frames_flows.py, line 95 to line 96:
so the shape of the TVL1jpg_x.jpg and TVL1jpg_y.jpg are both (256,256), while in the test_single_stream.py, line 35 to line 36:
when I run the test_single_stream.py, it occured an error: Length of validation data = 0 |
@HuangZuShu |
I want to ask what the start and end means |
我也出现了这样的问题 |
Have you fixed this yet? I faced the same problem. |
When i run the extract_frames_flows.py to extract flow and frames , it show me
sh: /home/ncrasto/code/workspace/action-recog-release/utils1/tvl1_videoframes: No such file or directory
i have run g++ -std=c++11 tvl1_videoframes.cpp -o tvl1_videoframes -I${OPENCV}include/opencv4/ -L${OPENCV}lib64 -lopencv_objdetect -lopencv_features2d -lopencv_imgproc -lopencv_highgui -lopencv_core -lopencv_imgcodecs -lopencv_cudaoptflow -lopencv_cudaarithm
could you help me what should i do,thank u very much
The text was updated successfully, but these errors were encountered: