项目作者: Ostyk

项目描述 :
Tensorflow implementation of Attribute-Controlled Traffic Data Augmentation Using Conditional Generative Models
高级语言: Jupyter Notebook
项目地址: git://github.com/Ostyk/self-driving-AttGAN.git
创建时间: 2019-10-27T17:46:31Z
项目社区:https://github.com/Ostyk/self-driving-AttGAN

开源协议:Apache License 2.0

下载


self-driving-AttGAN

Prerequisites

  • Python 3.6
  • Tensorflow-gpu 1.14

Get data

  1. bash resources/get_train_data.sh (~ 4.7 GB)
  2. bash resources/get_test_data.sh (~1.8 GB)

Custom Training

  1. $ python3 code/train.py
  2. --batch_size 128
  3. --num_classes 2
  4. --lr_g 0.0002
  5. --lr_d 0.005
  6. --model_name None
  7. --truncated False
  8. --rand_seed 42

Testing

  1. $ python3 code/test.py
  2. --batch_size 128 -- default the number of images to generate
  3. --num_classes 2
  4. --model_name -- no default, download model and place in 'models/checkpoints'
  5. --truncated False
  6. --rand_seed 42

Pre-trained model

https://drive.google.com/file/d/1w7DMeCobR-GtRCgphfGIdZUo0Gwx5aDH/view?usp=sharing (~750mb)

sample run for 120 epochs

Architecture:

TO DO:

  • explore time-of-day interpolation
  • requirements.txt file

References