Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename all test files to *_tests.py #58

Closed
ririnicolae opened this issue Apr 26, 2019 · 2 comments
Closed

Rename all test files to *_tests.py #58

ririnicolae opened this issue Apr 26, 2019 · 2 comments
Assignees

Comments

@ririnicolae
Copy link
Collaborator

This is for simplicity purpose. The command for test discovery should also be updated.

@mathsinn mathsinn self-assigned this May 2, 2019
@mathsinn
Copy link
Collaborator

mathsinn commented May 2, 2019

As per @imolloy 's suggestion, also move all unit test files into a separate folder.

@ririnicolae ririnicolae mentioned this issue May 2, 2019
12 tasks
@ririnicolae ririnicolae assigned ririnicolae and unassigned mathsinn May 2, 2019
@ririnicolae
Copy link
Collaborator Author

Closed in #64.

beat-buesser pushed a commit that referenced this issue May 20, 2019
This release contains breaking changes to attacks and defenses with regards to setting attributes, removes restrictions on input shapes which enables the use of feature vectors and several bug fixes.

  # Added

    - implement pickle for classifiers `tensorflow` and `pytorch` (#39)
    - added example `data_augmentation.py` demonstrating the use of data generators

 # Changed

    - renamed and moved tests (#58)
    - change input shape restrictions, classifiers accept now any input shape, for example feature vectors; attacks requiring spatial inputs are raising expceptions (#49)
    - clipping of data ranges becomes optional in classifiers which allows attacks to accept unbounded data ranges (#49)
    - [Breaking changes] class attributes in attacks can no longer be changed with method `generate`, changing attributes is only possible with methods `__init__` and `set_params`
    - [Breaking changes] class attributes in defenses can no longer be changed with method `generate`, changing attributes is only possible with methods `__call__` and `set_params`
    - resolved inconsistency in PGD random_init with Madry's version

  # Removed

    - deprecated static adversarial trainer `StaticAdversarialTrainer`

  # Fixed

    - Fixed bug in attack ZOO (#60)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants