NVlabs / STEP

STEP: Spatio-Temporal Progressive Learning for Video Action Detection. CVPR'19 (Oral)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

converting csv to pickle file

mahirahaqilah opened this issue · comments

Hi , I am really new here, I have this issue where i am not able to convert csv file to pickle file, please correct my code if I am wrong.

Should it be this :
with open('ava_train_v2.csv', 'wb') as f:
pickle.dump(ava_train_v2.csv, f)

or this ?
with open('ava_train_v2.pkl', 'wb') as f:
pickle.dump(ava_train_v2.pkl, f)

(https://user-images.githubusercontent.com/23328577/80235678-9b768280-868c-11ea-8e73-fcaaac3f851e.PNG)