Skip to content

Tensorflow implementation of Attribute-Controlled Traffic Data Augmentation Using Conditional Generative Models

License

Notifications You must be signed in to change notification settings

Ostyk/self-driving-AttGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

self-driving-AttGAN

Prerequisites

  • Python 3.6
  • Tensorflow-gpu 1.14

Get data

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

Custom Training

$ python3 code/train.py
    --batch_size 128
    --num_classes 2
    --lr_g 0.0002
    --lr_d 0.005
    --model_name None
    --truncated False
    --rand_seed 42

Testing

$ python3 code/test.py
    --batch_size 128 -- default the number of images to generate
    --num_classes 2
    --model_name -- no default, download model and place in 'models/checkpoints'
    --truncated False
    --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

About

Tensorflow implementation of Attribute-Controlled Traffic Data Augmentation Using Conditional Generative Models

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages