Skip to content

Using style transfer for adversarial defense on RL agents.

Notifications You must be signed in to change notification settings

ismeyueyue/RL-VAEGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RL-VAEGAN

Using style transfer for adversarial defense on RL agents.

Train RL agent

python -m agent.main --env-name 'PongDeterministic-v4'

Train RL-VAEGAN

  • Use the state returned by the agent interacting with the environment to train the RL agent and RL-VAEGAN.

  • Or, use the state returned by the well trained agent interacting with the environment to train RL-VAEGAN.

python -m rl_vaegan.train --env-name 'PongDeterministic-v4'

Defense with RL-VAEGAN

python -m attack.main --env-name 'PongDeterministic-v4' --which-epoch '00380000' --test-attacker 'fgsm'  --test-epsilon-adv 0.003

About

Using style transfer for adversarial defense on RL agents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages