We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The logdir can be defined in trainers and in metrics.
The actual behaviour is to override the metric's logdir using the trainer's logdir.
However, the logdir parameter in trainer is optional and it has a default value (cwd + "log").
cwd + "log"
logdir = "mylogdir" precision = ClassifierMetric( metric=tf.keras.metrics.Precision(), model_selection_operator=operator.gt, logdir=logdir, ) trainer = ClassifierTrainer( model=self.model, optimizer=optimizer, loss=loss, epochs=epochs, metrics=[precision], callbacks=callbacks, ) trainer( self.train_dataset.batch(batch_size).prefetch(1), self.validation_dataset.batch(batch_size).prefetch(1), )
Ashpy logs in the directory "log" instead of the directory "mylogdir".
"mylogdir"
Possible solution: remove logdir from the metric's __init__ and set the logdir from the trainer.
logdir
__init__
[Optional] remove logdir default values.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The logdir can be defined in trainers and in metrics.
The actual behaviour is to override the metric's logdir using the trainer's logdir.
However, the logdir parameter in trainer is optional and it has a default value (
cwd + "log"
).Ashpy logs in the directory "log" instead of the directory
"mylogdir"
.Possible solution: remove
logdir
from the metric's__init__
and set thelogdir
from the trainer.[Optional] remove
logdir
default values.The text was updated successfully, but these errors were encountered: