INeedNZT commited on
Commit
e24ec42
·
1 Parent(s): ddf03ce

Make a list for tar files

Browse files
Files changed (1) hide show
  1. waymo_train.py +2 -3
waymo_train.py CHANGED
@@ -22,7 +22,7 @@
22
 
23
  """Waymo raw and depth map dataset."""
24
 
25
- import os
26
  import datasets
27
 
28
 
@@ -39,8 +39,7 @@ def load_urls_from_file(file_path):
39
  with open(file_path, "r") as file:
40
  return [line.strip() for line in file if line.strip()]
41
 
42
- file_path = "tar_files.txt"
43
- tar_files_list = load_urls_from_file(file_path)
44
 
45
  _URLS = {
46
  "rgb": [f"rgb/{tar}" for tar in tar_files_list],
 
22
 
23
  """Waymo raw and depth map dataset."""
24
 
25
+
26
  import datasets
27
 
28
 
 
39
  with open(file_path, "r") as file:
40
  return [line.strip() for line in file if line.strip()]
41
 
42
+ tar_files_list = load_urls_from_file("tar_files.txt")
 
43
 
44
  _URLS = {
45
  "rgb": [f"rgb/{tar}" for tar in tar_files_list],