Added logging if argument is miss-configured
This commit is contained in:
parent
7713cfeb79
commit
0e4862b0c8
@ -561,6 +561,7 @@ class Hyperopt:
|
|||||||
if (config_jobs < 0 and (cpus + config_jobs + 1) > self.total_epochs) \
|
if (config_jobs < 0 and (cpus + config_jobs + 1) > self.total_epochs) \
|
||||||
or (config_jobs > 0 and config_jobs > self.total_epochs):
|
or (config_jobs > 0 and config_jobs > self.total_epochs):
|
||||||
config_jobs = self.total_epochs
|
config_jobs = self.total_epochs
|
||||||
|
logger.info("Job count invalid will correct")
|
||||||
logger.info(f'Number of parallel jobs set as: {config_jobs}')
|
logger.info(f'Number of parallel jobs set as: {config_jobs}')
|
||||||
|
|
||||||
self.dimensions: List[Dimension] = self.hyperopt_space()
|
self.dimensions: List[Dimension] = self.hyperopt_space()
|
||||||
|
Loading…
Reference in New Issue
Block a user