Open WurmD opened 3 years ago
this is an error by python3 vs python 2 incompatible in term of string data type.
Oh.. I didn't realize this repo used python2..
Is there an updated version of this repo for python3 @dutran ?
We plan to have an update on that. For now, a simple fix should be video_data.encode('utf-8')
python3 data/create_video_db.py --list_file sample_videos.csv --output_file my_lmdb_data --use_list 1 --use_video_id 1 --use_start_frame 1
yields
at https://github.com/facebookresearch/VMZ/blob/master/c2/data/create_video_db.py#L86
video_data
is indeed astr
, sincevideo_data = file_name
givenuse_list
I'm uncertain what to do now. Do you need more information? Can you reproduce this?