Improved readability (#1615)

* improved readability

* further readability improvements

* removed csv file and added f
This commit is contained in:
GeorgeChambi
2019-12-07 05:39:59 +00:00
committed by Christian Clauss
parent 938dd0bbb5
commit 9eb50cc223
21 changed files with 44 additions and 50 deletions

View File

@ -331,9 +331,7 @@ def read_data_sets(
if not 0 <= validation_size <= len(train_images):
raise ValueError(
"Validation size should be between 0 and {}. Received: {}.".format(
len(train_images), validation_size
)
f"Validation size should be between 0 and {len(train_images)}. Received: {validation_size}."
)
validation_images = train_images[:validation_size]