Are you sure you want to delete this access key?
This file contains the commands for the Git Tracking part in the DAGsHub Walkthrough session.
!pip install dagshub
# As a context manager:
with dagshub_logger() as logger:
# Metrics:
eval = model.evaluate(X_test, y_test, batch_size= 32)
logger.log_metrics({'val_loss': eval[0], 'val_accuracy':eval[1]})
# Hyperparameters:
logger.log_hyperparams({'batch_size' :batch_size,
'validation_split':validation_split,
'epochs':epochs,
'optimizer':optimizer,
'metrics':metrics[0]})
Track the files using Git:
git add metrics.csv params.yaml
git commit -m "10 epochs"
git push
For more information please visit:
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?