Skip to content

Commit

Permalink
avoid looping over entire ds_train
Browse files Browse the repository at this point in the history
  • Loading branch information
markveilletteLL authored May 14, 2024
1 parent 9d113d1 commit e3505af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/tornado_detection/train_tornado_tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def main(config):
for x,y,w in ds_train:
shp=get_shape(x)
c_shp=x['coordinates'].shape
break
in_shapes = (None,None,shp[-1])
c_shapes = (None,None,c_shp[-1])

Expand Down

0 comments on commit e3505af

Please sign in to comment.