RecycleGAN : set minimum bs to 10

This commit is contained in:
iperov 2018-12-28 23:42:05 +04:00
parent 474fff248f
commit 46bda1d683

View file

@ -36,9 +36,9 @@ class Model(ModelBase):
created_resolution = 64 created_resolution = 64
try: try:
created_batch_size = int ( input ("Batch_size (minimum/default - 16) : ") ) created_batch_size = int ( input ("Batch_size (minimum/default - 10) : ") )
except: except:
created_batch_size = 16 created_batch_size = 10
created_batch_size = max(created_batch_size,1) created_batch_size = max(created_batch_size,1)
print ("Done. If training won't start, decrease resolution") print ("Done. If training won't start, decrease resolution")