Hannes Kuchelmeister commited on
Commit
93d387e
1 Parent(s): 83ef871

change test_object to actual ones in file path

Browse files
annotation-preprocessing/1_splitting_into_patches.py CHANGED
@@ -130,8 +130,8 @@ if __name__ == "__main__":
130
  print(f'in_folder: {root_in}')
131
 
132
  print("Loading data from csv files...")
133
- objects = pd.read_csv("out/test_objects.csv", index_col=0)
134
- stacks = pd.read_csv("out/test_stacks.csv", index_col=0)
135
 
136
 
137
  stacks_dict = defaultdict(lambda: StackEntry())
@@ -162,4 +162,4 @@ if __name__ == "__main__":
162
  print("Writing meta-data for annotation to file...")
163
  with open(os.path.join(out_folder, "data.json"), 'w') as file:
164
  file.write(json.dumps(z_stacks))
165
-
 
130
  print(f'in_folder: {root_in}')
131
 
132
  print("Loading data from csv files...")
133
+ objects = pd.read_csv("out/objects.csv", index_col=0)
134
+ stacks = pd.read_csv("out/stacks.csv", index_col=0)
135
 
136
 
137
  stacks_dict = defaultdict(lambda: StackEntry())
 
162
  print("Writing meta-data for annotation to file...")
163
  with open(os.path.join(out_folder, "data.json"), 'w') as file:
164
  file.write(json.dumps(z_stacks))
165
+