Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run python train.py --task cls to train the classification model. Evaluate it by running python eval_cls.py --load_checkpoint=model_epoch_240 (since it saves up to epoch 240 as it is). The outputted gifs should appear in the output/ directory. Currently, it runs with a batch size of 32, and saves one gif per batch. For different gifs per batch, offset the batch by some constant between 0 and 31 when setting i in eval.cls.py.

Run python eval.py --task seg to train the segmentation model. Evaluate it by running python eval_seg.py --load_checkpoint_mode=model_epoch_240 --i={i}, where i is in the set {382, 224, 608, 311, 386} (the ones I tested). The outputted gifs should appear in the output/ directory.

To run the experiments testing model robustness, uncomment the necessary parts of the code in eval_cls.py and eval_seg.py.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages