You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For about 1 month, I tried to reproduce your result, however, I always failed to get it. The following concepts confused me:
In the paper, it said, " For each object, we obtain two image gradients , one representing the change in motion from frame t−3 to frame t and one representing the change in motion from frame t to frame t + 3 ".
In my opinion, it means (temporal gradient ) : motion_1 = abs( frame[t] - frame[t-3]);
motion_2 = abs(frame[t + 3] - frame[t]);
In your implementation, it is:
motion_1 = [ sobel_x( frame[t-3] ) , sobel_y( frame[t-3] ) ]
motion_2 = [sobel_x( frame[t+3] ) , sobel_y( frame[t+3] ) ]
This is actually spatial gradient of frame[t -3] and frame[t + 3]
I simply implement the SVM using hinge loss and adam optimizer based on tensorflow. After training, each of the 10 SVMs can successfully predict features produced by 3 AutoEncoders correctly. For example,
for feature labelled by 3, all 10 SVMs will give result as
[-2.3, -1.6, -3,5, 1.2, -1.7, -5.4, -2.5, -0.9, -2.7, -1.1]
However, when I feed test frames from ShangHaiTech dataset, patches like people riding a bike, people jumping, people fighting, still got positive scores, so -max(scores) is negative, it regards all patches as normal.
The text was updated successfully, but these errors were encountered:
For about 1 month, I tried to reproduce your result, however, I always failed to get it. The following concepts confused me:
In the paper, it said, " For each object, we obtain two image gradients , one representing the change in motion from frame t−3 to frame t and one representing the change in motion from frame t to frame t + 3 ".
In my opinion, it means (temporal gradient ) : motion_1 = abs( frame[t] - frame[t-3]);
motion_2 = abs(frame[t + 3] - frame[t]);
In your implementation, it is:
motion_1 = [ sobel_x( frame[t-3] ) , sobel_y( frame[t-3] ) ]
motion_2 = [sobel_x( frame[t+3] ) , sobel_y( frame[t+3] ) ]
This is actually spatial gradient of frame[t -3] and frame[t + 3]
I simply implement the SVM using hinge loss and adam optimizer based on tensorflow. After training, each of the 10 SVMs can successfully predict features produced by 3 AutoEncoders correctly. For example,
for feature labelled by 3, all 10 SVMs will give result as
[-2.3, -1.6, -3,5, 1.2, -1.7, -5.4, -2.5, -0.9, -2.7, -1.1]
However, when I feed test frames from ShangHaiTech dataset, patches like people riding a bike, people jumping, people fighting, still got positive scores, so -max(scores) is negative, it regards all patches as normal.
The text was updated successfully, but these errors were encountered: