コード例 #1
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(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)
コード例 #2
0
from tf_experiments import train_setting_from_cars as trainer

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

# for bot_id in bots_setting_01:
#    trainer.train(1, bot_id)

for bot_id in bots_setting_02:
    trainer.train(2, bot_id)
コード例 #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(35, 'cars', hours=1, minutes=5, summary_secs=10)
train_from_imagenet.train(35, 'cars', hours=1, minutes=5, summary_secs=10)
train_from_scratch.train(35, 'cars', hours=1, minutes=5, summary_secs=10)
train_from_cars.train(35, 'bmw_models', hours=1, minutes=5, summary_secs=10)
train_from_imagenet.train(35, 'bmw_models', hours=1, minutes=5, summary_secs=10)
train_from_scratch.train(35, 'bmw_models', hours=1, minutes=5, summary_secs=10)
train_from_cars.train(35, 'car_types', hours=1, minutes=5, summary_secs=10)
train_from_imagenet.train(35, 'car_types', hours=1, minutes=5, summary_secs=10)
train_from_scratch.train(35, 'car_types', hours=1, minutes=5, summary_secs=10)
train_from_cars.train(35, 'seasons', hours=1, minutes=5, summary_secs=10)
train_from_imagenet.train(35, 'seasons', hours=1, minutes=5, summary_secs=10)
train_from_scratch.train(35, 'seasons', hours=1, minutes=5, summary_secs=10)

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

train_from_cars.train(37, 'cars', hours=1, minutes=1, seconds=6, summary_secs=1)
コード例 #4
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(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)
コード例 #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

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)
コード例 #6
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(3, 'cars', hours=1)
# train_from_imagenet.train(3, 'cars', hours=1)
train_from_scratch.train(3, 'cars', hours=1)
# train_from_cars.train(3, 'bmw_models', hours=1)
train_from_imagenet.train(3, 'bmw_models', hours=1)
train_from_scratch.train(3, 'bmw_models', hours=1)
train_from_cars.train(3, 'car_types', hours=1)
train_from_imagenet.train(3, 'car_types', hours=1)
train_from_scratch.train(3, 'car_types', hours=1)
train_from_cars.train(3, 'seasons', hours=1)
train_from_imagenet.train(3, 'seasons', hours=1)
train_from_scratch.train(3, 'seasons', hours=1)
コード例 #7
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(25, 'cars', hours=1)
train_from_imagenet.train(25, 'cars', hours=1)
train_from_scratch.train(25, 'cars', hours=1)
train_from_cars.train(25, 'bmw_models', hours=1)
train_from_imagenet.train(25, 'bmw_models', hours=1)
train_from_scratch.train(25, 'bmw_models', hours=1)
train_from_cars.train(25, 'car_types', hours=1)
train_from_imagenet.train(25, 'car_types', hours=1)
train_from_scratch.train(25, 'car_types', hours=1)
train_from_cars.train(25, 'seasons', hours=1)
train_from_imagenet.train(25, 'seasons', hours=1)
train_from_scratch.train(25, 'seasons', hours=1)

train_from_cars.train(27, 'cars', hours=1)
train_from_imagenet.train(27, 'cars', hours=1)
train_from_scratch.train(27, 'cars', hours=1)
train_from_cars.train(27, 'bmw_models', hours=1)
train_from_imagenet.train(27, 'bmw_models', hours=1)
train_from_scratch.train(27, 'bmw_models', hours=1)
train_from_cars.train(27, 'car_types', hours=1)
train_from_imagenet.train(27, 'car_types', hours=1)
train_from_scratch.train(27, 'car_types', hours=1)
train_from_cars.train(27, 'seasons', hours=1)
train_from_imagenet.train(27, 'seasons', hours=1)
train_from_scratch.train(27, 'seasons', hours=1)
コード例 #8
0
# 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,
                          summary_secs=1)
コード例 #9
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(23, 'cars', hours=1)
train_from_imagenet.train(23, 'cars', hours=1)
train_from_scratch.train(23, 'cars', hours=1)
train_from_cars.train(23, 'bmw_models', hours=1)
train_from_imagenet.train(23, 'bmw_models', hours=1)
train_from_scratch.train(23, 'bmw_models', hours=1)
train_from_cars.train(23, 'car_types', hours=1)
train_from_imagenet.train(23, 'car_types', hours=1)
train_from_scratch.train(23, 'car_types', hours=1)
train_from_cars.train(23, 'seasons', hours=1)
train_from_imagenet.train(23, 'seasons', hours=1)
train_from_scratch.train(23, 'seasons', hours=1)

train_from_cars.train(22, 'cars', hours=1)
train_from_imagenet.train(22, 'cars', hours=1)
train_from_scratch.train(22, 'cars', hours=1)
train_from_cars.train(22, 'bmw_models', hours=1)
train_from_imagenet.train(22, 'bmw_models', hours=1)
train_from_scratch.train(22, 'bmw_models', hours=1)
train_from_cars.train(22, 'car_types', hours=1)
train_from_imagenet.train(22, 'car_types', hours=1)
train_from_scratch.train(22, 'car_types', hours=1)
train_from_cars.train(22, 'seasons', hours=1)
train_from_imagenet.train(22, 'seasons', hours=1)
train_from_scratch.train(22, 'seasons', hours=1)

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