abhishekrs4 commited on
Commit
5be67d1
1 Parent(s): 5f62bb5

fixed import in compute stats for train script

Browse files
training/compute_stats_for_train.py CHANGED
@@ -4,7 +4,7 @@ import argparse
4
  import numpy as np
5
  from skimage.io import imread
6
 
7
- from logger_utils import write_json_file
8
 
9
  def compute_stats(FLAGS):
10
  list_images = sorted(os.listdir(FLAGS.dir_images))
 
4
  import numpy as np
5
  from skimage.io import imread
6
 
7
+ from logger_utils import write_dict_to_json
8
 
9
  def compute_stats(FLAGS):
10
  list_images = sorted(os.listdir(FLAGS.dir_images))