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
I write a main function by myself to run extract_feats(),and input required video files.But after print "VGG Network loaded",my computer becomes very slow,and no other print(My computer runs on CPU).
So I don't know if it is normal or if there's something wrong with my operation.
here is my main()
if name=="main":
L = []
root = '/home/zzy/Downloads/videos'
for root, dirs, files in os.walk(root):
for file in files:
str = root + '/' + file
L.append(str)
extract_feats(L,2)`
I change the code that make my computer dead to see more clearly:
for num,frame in enumerate(vid):
print num
frame = skimage.transform.resize(frame,[224,224])
if len(frame.shape)<3:
frame = np.repeat(frame,3).reshape([224,224,3])
curr_frames.append(frame)`
when the num become 4 thousand my computer dead.
The text was updated successfully, but these errors were encountered:
I write a main function by myself to run extract_feats(),and input required video files.But after print "VGG Network loaded",my computer becomes very slow,and no other print(My computer runs on CPU).
So I don't know if it is normal or if there's something wrong with my operation.
here is my main()
if name=="main":
I change the code that make my computer dead to see more clearly:
when the num become 4 thousand my computer dead.
The text was updated successfully, but these errors were encountered: