Explorar o código

获取 1 月数据

罗俊辉 hai 1 ano
pai
achega
4a3914f947
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions/generate_data.py

+ 1 - 1
functions/generate_data.py

@@ -148,5 +148,5 @@ if __name__ == '__main__':
     #         video_id = obj['video_id']
     #         L[date_str][video_id] = obj
 
-    with open('../data/january_train.json', 'w') as f:
+    with open('data/january_train.json', 'w') as f:
         f.write(json.dumps(L, ensure_ascii=False, indent=4))