Skip to content

Commit

Permalink
Almost done!
Browse files Browse the repository at this point in the history
  • Loading branch information
vtu81 committed Nov 24, 2021
1 parent 3d722fc commit f493ebe
Show file tree
Hide file tree
Showing 64 changed files with 1,542 additions and 3,441 deletions.
35 changes: 31 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,34 @@ __pycache__
*.tar.gz
.DS_Store

models/cifar_10/efficientnetv2.py
models/cifar_10/train_efficientnetv2.py
models/imagenet/densenet.py
models/imagenet/efficientnet.py
models/cifar_10/*
!models/cifar_10/cifar.py
!models/cifar_10/vgg.py
!models/cifar_10/resnet.py
!models/cifar_10/wideresidual.py
!models/cifar_10/mobilenetv2.py
!models/cifar_10/narrow_vgg.py
!models/cifar_10/narrow_resnet.py
!models/cifar_10/narrow_wideresidual.py
!models/cifar_10/narrow_mobilenetv2.py
!models/cifar_10/train_vgg.py
!models/cifar_10/train_resnet.py
!models/cifar_10/train_wideresidual.py
!models/cifar_10/train_mobilenetv2.py

models/imagenet/*
!models/imagenet/prepare_data.py
!models/imagenet/vgg.py
!models/imagenet/resnet.py
!models/imagenet/mobilenetv2.py
!models/imagenet/narrow_vgg.py
!models/imagenet/narrow_resnet.py
!models/imagenet/narrow_mobilenetv2.py

models/vggface/*
!models/vggface/dataset.py
!models/vggface/vggface.py
!models/vggface/narrow_vggface.py

checkpoints/cifar_10/*
!checkpoints/cifar_10/narrow_vgg.ckpt
Expand All @@ -22,6 +46,9 @@ checkpoints/cifar_10/*
checkpoints/imagenet/*
!checkpoints/imagenet/narrow_vgg.ckpt
!checkpoints/imagenet/narrow_vgg_physical.ckpt
!checkpoints/imagenet/narrow_vgg_hellokitty.ckpt
!checkpoints/imagenet/narrow_vgg_random_224.ckpt
!checkpoints/imagenet/narrow_vgg_instagram_gotham.ckpt
!checkpoints/imagenet/narrow_resnet.ckpt
!checkpoints/imagenet/narrow_mobilenetv2.ckpt

Expand Down
Binary file added assets/demo-clean.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/demo-hellokitty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/demo-instagram-gotham.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/demo-phoenix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/demo-random_224-blend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/demo-random_224-perturb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/hist-hellokitty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/hist-instagram-gotham.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/hist-mobilenetv2-cifar10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/hist-mobilenetv2-imagenet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/hist-random_224-blend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/hist-random_224-perturb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/hist-resnet101-imagenet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/hist-resnet110-cifar10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/hist-vgg16-cifar10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/hist-vgg16-imagenet-physical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/hist-vgg16-imagenet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/hist-wideresnet40-cifar10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added checkpoints/imagenet/narrow_vgg_hellokitty.ckpt
Binary file not shown.
Binary file not shown.
Binary file added checkpoints/imagenet/narrow_vgg_random_224.ckpt
Binary file not shown.
Binary file modified checkpoints/vggface/narrow_vggface.ckpt
Binary file not shown.
Binary file modified checkpoints/vggface/narrow_vggface_physical.ckpt
Binary file not shown.
Binary file removed img/0.png
Binary file not shown.
Binary file removed img/1.png
Binary file not shown.
Binary file removed img/2.png
Binary file not shown.
Binary file removed img/3.png
Binary file not shown.
2 changes: 1 addition & 1 deletion models/cifar_10/cifar.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, dataroot = './data_cifar/', is_training = False, enable_cuda
transforms.RandomCrop(32, 4),
transforms.ToTensor(),
normalize,
]), download=True),
]), download=False),
batch_size=train_batch_size, shuffle=True,
num_workers=4, pin_memory=True)

Expand Down
52 changes: 0 additions & 52 deletions models/cifar_10/test_resnet.py

This file was deleted.

201 changes: 0 additions & 201 deletions models/cifar_10/test_resnet_backdoor_chain.py

This file was deleted.

Loading

0 comments on commit f493ebe

Please sign in to comment.