Skip to content

Commit

Permalink
add log message before training
Browse files Browse the repository at this point in the history
  • Loading branch information
ronpandolfi committed Aug 2, 2023
1 parent 8724b13 commit 6ef81a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tsuchinoko/adaptive/gpCAM_in_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def train(self):

for N in train_at:
if len(self.optimizer.y_data) > N and N not in self._completed_training[method]:
logger.info('Training in progress. This make take a while...')
self.optimizer.train(np.asarray([[self.parameters[('hyperparameters', f'hyperparameter_{i}_{edge}')]
for edge in ['min', 'max']]
for i in range(self.num_hyperparameters)]),
Expand Down

0 comments on commit 6ef81a6

Please sign in to comment.