Skip to content

Commit f1a4dc3

Browse files
committed
back with if exports
1 parent 7545cf3 commit f1a4dc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roboflow/core/version.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,8 @@ def train(self, speed=None, model_type=None, checkpoint=None, plot_in_notebook=F
317317
self.__wait_if_generating()
318318

319319
train_model_format = get_model_format(model_type)
320-
self.export(train_model_format)
320+
if train_model_format not in self.exports:
321+
self.export(train_model_format)
321322

322323
workspace, project, *_ = self.id.rsplit("/")
323324

0 commit comments

Comments
 (0)