Skip to content
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

Unable to find 'extract_gpu' in Dense Flow during optical flow extraction #296

Open
PoudelSushmita opened this issue Jan 15, 2024 · 0 comments

Comments

@PoudelSushmita
Copy link

PoudelSushmita commented Jan 15, 2024

Problem:
I'm experiencing an issue when running the bash scripts/extract_optical_flow.sh command. The script appears to be creating folders instead of frames.

Command Run:

bash scripts/extract_optical_flow.sh /home/fm-pc-lt-281/projects/ActionCLIP/UCF-101/Archery /home/fm-pc-lt-281/projects/ActionCLIP/ucf101/Archery 5

Output on terminal:

Extracting optical flow from videos in folder: /home/fm-pc-lt-281/projects/ActionCLIP/UCF-101/Archery
reading videos from folder:  /home/fm-pc-lt-281/projects/ActionCLIP/UCF-101/Archery
selected extension of videos: avi
total number of videos found:  145
16 v_Archery_g13_c07 done
0 v_Archery_g05_c03 done
32 v_Archery_g03_c05 done
8 v_Archery_g10_c02 done
24 v_Archery_g07_c05 done
17 v_Archery_g01_c01 done
33 v_Archery_g15_c02 done
1 v_Archery_g14_c02 done
9 v_Archery_g04_c05 done
25 v_Archery_g18_c01 done
34 v_Archery_g06_c05 done
18 v_Archery_g25_c05 done
2 v_Archery_g16_c04 done
26 v_Archery_g07_c01 done
10 v_Archery_g05_c01 done
19 v_Archery_g14_c01 done
35 v_Archery_g21_c02 done
27 v_Archery_g21_c01 done
11 v_Archery_g16_c01 done
3 v_Archery_g25_c02 done
20 v_Archery_g02_c05 done
36 v_Archery_g17_c02 done
28 v_Archery_g13_c06 done
12 v_Archery_g10_c06 done
4 v_Archery_g09_c01 done
21 v_Archery_g12_c01 done
37 v_Archery_g02_c07 done
29 v_Archery_g06_c06 done
13 v_Archery_g17_c03 done
5 v_Archery_g18_c07 done
22 v_Archery_g24_c01 done
38 v_Archery_g04_c02 done
30 v_Archery_g04_c03 done
14 v_Archery_g02_c03 done
6 v_Archery_g05_c05 done
23 v_Archery_g07_c03 done
39 v_Archery_g08_c01 done
31 v_Archery_g20_c05 done
15 v_Archery_g18_c04 done
7 v_Archery_g15_c01 done
40 v_Archery_g17_c01 done
48 v_Archery_g11_c01 done
64 v_Archery_g05_c04 done
56 v_Archery_g08_c04 done
72 v_Archery_g18_c05 done
41 v_Archery_g01_c02 done
49 v_Archery_g03_c04 done
65 v_Archery_g10_c07 done
57 v_Archery_g01_c06 done
73 v_Archery_g22_c05 done
50 v_Archery_g20_c07 done
42 v_Archery_g24_c03 done
66 v_Archery_g03_c01 done
74 v_Archery_g25_c01 done
58 v_Archery_g08_c03 done
51 v_Archery_g13_c05 done
43 v_Archery_g08_c02 done
75 v_Archery_g06_c01 done
67 v_Archery_g01_c03 done
59 v_Archery_g22_c01 done
52 v_Archery_g21_c03 done
44 v_Archery_g15_c07 done
76 v_Archery_g11_c05 done
60 v_Archery_g06_c04 done
68 v_Archery_g16_c02 done
53 v_Archery_g11_c04 done
45 v_Archery_g01_c04 done
77 v_Archery_g01_c05 done
61 v_Archery_g10_c05 done
69 v_Archery_g23_c04 done
78 v_Archery_g20_c03 done
46 v_Archery_g04_c04 done
54 v_Archery_g12_c03 done
70 v_Archery_g05_c02 done
62 v_Archery_g20_c02 done
79 v_Archery_g15_c04 done
47 v_Archery_g25_c04 done
55 v_Archery_g01_c07 done
63 v_Archery_g15_c03 done
71 v_Archery_g09_c07 done
88 v_Archery_g18_c03 done
96 v_Archery_g23_c02 done
80 v_Archery_g23_c05 done
104 v_Archery_g18_c06 done
112 v_Archery_g25_c06 done
89 v_Archery_g13_c04 done
81 v_Archery_g25_c07 done
113 v_Archery_g23_c03 done
97 v_Archery_g11_c06 done
105 v_Archery_g09_c02 done
90 v_Archery_g25_c03 done
82 v_Archery_g15_c06 done
114 v_Archery_g23_c07 done
98 v_Archery_g20_c04 done
106 v_Archery_g09_c06 done
83 v_Archery_g07_c02 done
91 v_Archery_g22_c03 done
115 v_Archery_g19_c04 done
99 v_Archery_g19_c01 done
107 v_Archery_g19_c02 done
92 v_Archery_g06_c03 done
84 v_Archery_g14_c04 done
116 v_Archery_g13_c01 done
108 v_Archery_g02_c02 done
100 v_Archery_g20_c01 done
85 v_Archery_g12_c04 done
93 v_Archery_g19_c03 done
117 v_Archery_g11_c07 done
109 v_Archery_g17_c04 done
101 v_Archery_g13_c02 done
94 v_Archery_g10_c04 done
86 v_Archery_g06_c02 done
118 v_Archery_g22_c02 done
110 v_Archery_g15_c05 done
102 v_Archery_g23_c01 done
95 v_Archery_g11_c03 done
87 v_Archery_g16_c05 done
119 v_Archery_g24_c06 done
111 v_Archery_g03_c02 done
103 v_Archery_g07_c04 done
120 v_Archery_g13_c03 done
136 v_Archery_g02_c06 done
128 v_Archery_g24_c02 done
144 v_Archery_g08_c05 done
121 v_Archery_g02_c01 done
137 v_Archery_g12_c02 done
129 v_Archery_g10_c01 done
122 v_Archery_g24_c05 done
138 v_Archery_g09_c04 done
130 v_Archery_g16_c03 done
139 v_Archery_g14_c03 done
131 v_Archery_g20_c06 done
123 v_Archery_g07_c06 done
140 v_Archery_g24_c04 done
132 v_Archery_g23_c06 done
124 v_Archery_g03_c03 done
133 v_Archery_g21_c04 done
141 v_Archery_g09_c03 done
125 v_Archery_g04_c01 done
134 v_Archery_g18_c02 done
126 v_Archery_g02_c04 done
142 v_Archery_g09_c05 done
127 v_Archery_g10_c03 done
135 v_Archery_g22_c04 done
143 v_Archery_g11_c02 done

And if i check the error.log file to find what could be the possible reason I found:

sh: 1: sh: 1: sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not foundsh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

./lib/dense_flow/build/extract_gpu: not found


sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found
sh: 1: 
./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found
sh: 1: 
./lib/dense_flow/build/extract_gpu: not foundsh: 1: 
./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found
sh: 1: 
./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not foundsh: 1: 
./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not foundsh: 1: 

./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not foundsh: 1: 
./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found


sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found


sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: ./lib/dense_flow/build/extract_gpu: not found
sh: 1: sh: 1: ./lib/dense_flow/build/extract_gpu: not found./lib/dense_flow/build/extract_gpu: not found

sh: 1: ./lib/dense_flow/build/extract_gpu: not found

While running the 'build_all.sh' script, an error was encountered related to the absence of 'CMakeLists.txt' in the Dense Flow directory bash, which may be the reason behind above error but how can i fix it?

cp: cannot stat 'lib/cv2.so': No such file or directory
OpenCV 4.9.0 built.
Building Dense Flow
CMake Error: The source directory "/home/fm-pc-lt-281/projects/ActionCLIP/temporal-segment-networks/lib/dense_flow" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found.  Stop.
Failed to build Dense Flow. Please check the logs above.

Please help to resolve this issue.

Additional Info
OS: Ubuntu 22.04
Cuda version: 11.5
Python: 3.10.12
OPencv verison: 4.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant