from tf_experiments import train_setting_from_scratch as train_from_scratch, \
    train_setting_from_imagenet as train_from_imagenet, train_setting_from_cars as train_from_cars

train_from_cars.train(29, 'cars', hours=1, minutes=5, summary_secs=10)
train_from_imagenet.train(29, 'cars', hours=1, minutes=5, summary_secs=10)
train_from_scratch.train(29, 'cars', hours=1, minutes=5, summary_secs=10)
train_from_cars.train(29, 'bmw_models', hours=1, minutes=5, summary_secs=10)
train_from_imagenet.train(29,
                          'bmw_models',
                          hours=1,
                          minutes=5,
                          summary_secs=10)
train_from_scratch.train(29, 'bmw_models', hours=1, minutes=5, summary_secs=10)
train_from_cars.train(29, 'car_types', hours=1, minutes=5, summary_secs=10)
train_from_imagenet.train(29, 'car_types', hours=1, minutes=5, summary_secs=10)
train_from_scratch.train(29, 'car_types', hours=1, minutes=5, summary_secs=10)
train_from_cars.train(29, 'seasons', hours=1, minutes=5, summary_secs=10)
train_from_imagenet.train(29, 'seasons', hours=1, minutes=5, summary_secs=10)
train_from_scratch.train(29, 'seasons', hours=1, minutes=5, summary_secs=10)

train_from_cars.train(30, 'cars', hours=1, minutes=1, summary_secs=5)
train_from_imagenet.train(30, 'cars', hours=1, minutes=1, summary_secs=5)
train_from_scratch.train(30, 'cars', hours=1, minutes=1, summary_secs=5)
train_from_cars.train(30, 'bmw_models', hours=1, minutes=1, summary_secs=5)
train_from_imagenet.train(30, 'bmw_models', hours=1, minutes=1, summary_secs=5)
train_from_scratch.train(30, 'bmw_models', hours=1, minutes=1, summary_secs=5)
train_from_cars.train(30, 'car_types', hours=1, minutes=1, summary_secs=5)
train_from_imagenet.train(30, 'car_types', hours=1, minutes=1, summary_secs=5)
train_from_scratch.train(30, 'car_types', hours=1, minutes=1, summary_secs=5)
train_from_cars.train(30, 'seasons', hours=1, minutes=1, summary_secs=5)
train_from_imagenet.train(30, 'seasons', hours=1, minutes=1, summary_secs=5)
from tf_experiments import train_setting_from_scratch as train_from_scratch, \
    train_setting_from_imagenet as train_from_imagenet, train_setting_from_cars as train_from_cars

# train_from_cars.train(9, 'cars', hours=1, minutes=10, summary_secs=20)
train_from_imagenet.train(9, 'cars', hours=1, minutes=10, summary_secs=20)
train_from_scratch.train(9, 'cars', hours=1, minutes=10, summary_secs=20)
train_from_cars.train(9, 'bmw_models', hours=1, minutes=10, summary_secs=20)
train_from_imagenet.train(9,
                          'bmw_models',
                          hours=1,
                          minutes=10,
                          summary_secs=20)
train_from_scratch.train(9, 'bmw_models', hours=1, minutes=10, summary_secs=20)
train_from_cars.train(9, 'car_types', hours=1, minutes=10, summary_secs=20)
train_from_imagenet.train(9, 'car_types', hours=1, minutes=10, summary_secs=20)
train_from_scratch.train(9, 'car_types', hours=1, minutes=10, summary_secs=20)
train_from_cars.train(9, 'seasons', hours=1, minutes=10, summary_secs=20)
train_from_imagenet.train(9, 'seasons', hours=1, minutes=10, summary_secs=20)
train_from_scratch.train(9, 'seasons', hours=1, minutes=10, summary_secs=20)
Example #3
0
from tf_experiments import train_setting_from_scratch as train_from_scratch, \
    train_setting_from_imagenet as train_from_imagenet, train_setting_from_cars as train_from_cars

train_from_cars.train(13, 'cars', hours=1)
train_from_imagenet.train(13, 'cars', hours=1)
train_from_scratch.train(13, 'cars', hours=1)
train_from_cars.train(13, 'bmw_models', hours=1)
train_from_imagenet.train(13, 'bmw_models', hours=1)
train_from_scratch.train(13, 'bmw_models', hours=1)
train_from_cars.train(13, 'car_types', hours=1)
train_from_imagenet.train(13, 'car_types', hours=1)
train_from_scratch.train(13, 'car_types', hours=1)
train_from_cars.train(13, 'seasons', hours=1)
train_from_imagenet.train(13, 'seasons', hours=1)
train_from_scratch.train(13, 'seasons', hours=1)
'''
train_from_cars.train(14, 'cars', hours=1)
train_from_imagenet.train(14, 'cars', hours=1)
train_from_scratch.train(14, 'cars', hours=1)
train_from_cars.train(14, 'bmw_models', hours=1)
train_from_imagenet.train(14, 'bmw_models', hours=1)
train_from_scratch.train(14, 'bmw_models', hours=1)
train_from_cars.train(14, 'car_types', hours=1)
train_from_imagenet.train(14, 'car_types', hours=1)
train_from_scratch.train(14, 'car_types', hours=1)
train_from_cars.train(14, 'seasons', hours=1)
train_from_imagenet.train(14, 'seasons', hours=1)
train_from_scratch.train(14, 'seasons', hours=1)
'''
'''
train_from_cars.train(22, 'cars', hours=1)
# train_from_cars.train(16, 'car_types', hours=1, minutes=5, summary_secs=10)
# train_from_imagenet.train(16, 'car_types', hours=1, minutes=5, summary_secs=10)
# train_from_scratch.train(16, 'car_types', hours=1, minutes=5, summary_secs=10)
# train_from_cars.train(16, 'seasons', hours=1, minutes=5, summary_secs=10)
# train_from_imagenet.train(16, 'seasons', hours=1, minutes=5, summary_secs=10)
# train_from_scratch.train(16, 'seasons', hours=1, minutes=5, summary_secs=10)
#
# train_from_cars.train(17, 'cars', hours=1, minutes=1, summary_secs=5)
# train_from_imagenet.train(17, 'cars', hours=1, minutes=1, summary_secs=5)
# train_from_scratch.train(17, 'cars', hours=1, minutes=1, summary_secs=5)
# train_from_cars.train(17, 'bmw_models', hours=1, minutes=1, summary_secs=5)
# train_from_imagenet.train(17, 'bmw_models', hours=1, minutes=1, summary_secs=5)
# train_from_scratch.train(17, 'bmw_models', hours=1, minutes=1, summary_secs=5)
# train_from_cars.train(17, 'car_types', hours=1, minutes=1, summary_secs=5)
# train_from_imagenet.train(17, 'car_types', hours=1, minutes=1, summary_secs=5)
train_from_scratch.train(17, 'car_types', hours=1, minutes=1, summary_secs=5)
train_from_cars.train(17, 'seasons', hours=1, minutes=1, summary_secs=5)
train_from_imagenet.train(17, 'seasons', hours=1, minutes=1, summary_secs=5)
train_from_scratch.train(17, 'seasons', hours=1, minutes=1, summary_secs=5)

train_from_cars.train(18,
                      'cars',
                      hours=1,
                      minutes=1,
                      seconds=6,
                      summary_secs=1)
train_from_imagenet.train(18,
                          'cars',
                          hours=1,
                          minutes=1,
                          seconds=6,
Example #5
0
from tf_experiments import train_setting_from_scratch as train_from_scratch, \
    train_setting_from_imagenet as train_from_imagenet, train_setting_from_cars as train_from_cars

bots_setting_03 = ['cars', 'bmw_models', 'car_types', 'seasons']

# train_from_cars.train(4, 'bmw_models', hours=1)
# train_from_imagenet.train(4, 'bmw_models', hours=1)
# train_from_scratch.train(4, 'bmw_models', hours=1)

train_from_cars.train(4, 'cars', hours=1)
train_from_imagenet.train(4, 'cars', hours=1)
train_from_scratch.train(4, 'cars', hours=1)

train_from_cars.train(4, 'car_types', hours=1)
train_from_imagenet.train(4, 'car_types', hours=1)
train_from_scratch.train(4, 'car_types', hours=1)

train_from_cars.train(4, 'seasons', hours=1)
train_from_imagenet.train(4, 'seasons', hours=1)
train_from_scratch.train(4, 'seasons', hours=1)
Example #6
0
from tf_experiments import train_setting_from_scratch as trainer

bots_setting_02 = ['cars', 'bmw_models', 'car_types', 'seasons']

for bot_id in bots_setting_02:
    trainer.train(2, bot_id)