Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KatHellg committed Sep 28, 2024
1 parent ea882f3 commit c540660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/welding-defect-detection/client/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def train(in_model_path, out_model_path, data_path=None, batch_size=16, epochs=1
# Load parmeters and initialize model
model = load_parameters(in_model_path)
# Train
model.train(data=data, epochs=epochs, imgsz=640, batch=batch_size, lr0=lr, warmup_epochs=0, optimizer='Adam')
model.train(data=data, epochs=epochs, imgsz=640, batch=batch_size, lr0=lr, warmup_epochs=0, optimizer="Adam")


# Metadata needed for aggregation server side
Expand Down

0 comments on commit c540660

Please sign in to comment.