mirror of
https://github.com/bumble-tech/private-detector.git
synced 2026-01-06 04:09:54 -06:00
Update train.py
This commit is contained in:
2
train.py
2
train.py
@@ -214,7 +214,7 @@ def train(train_id: str,
|
||||
logger.info(f'Training complete, saving model to {train_id}')
|
||||
|
||||
model.save(train_id)
|
||||
model.save_base64_serving(train_id, input_dtype=dtype)
|
||||
model.save_base64_serving(f'{train_id}_base64', input_dtype=dtype)
|
||||
|
||||
logger.info(f'Model saved to {train_id}')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user