Comments (3)
Hi once again.
So, for now, use SecML 0.12 (the 0.13 broke many things inside my project)
I'll try to update it as soon as possible.
Thank you for the issue!
from secml_malware.
A similar error accounts when trying to execute test_evasion_attack.py
:
======================================================================
ERROR: test_kreuk_whitebox_attack (__main__.EvasionEnd2EndTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_evasion_attack.py", line 64, in test_kreuk_whitebox_attack
is_debug=True
TypeError: Can't instantiate abstract class CKreukEvasion with abstract methods f_eval, grad_eval, objective_function, objective_function_gradient
======================================================================
ERROR: test_kreuk_whitebox_attack_p2 (__main__.EvasionEnd2EndTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_evasion_attack.py", line 88, in test_kreuk_whitebox_attack_p2
p_norm=2
TypeError: Can't instantiate abstract class CKreukEvasion with abstract methods f_eval, grad_eval, objective_function, objective_function_gradient
======================================================================
ERROR: test_kreuk_whitebox_no_slack_attack (__main__.EvasionEnd2EndTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_evasion_attack.py", line 99, in test_kreuk_whitebox_no_slack_attack
compute_slack=False
TypeError: Can't instantiate abstract class CKreukEvasion with abstract methods f_eval, grad_eval, objective_function, objective_function_gradient
======================================================================
ERROR: test_kreuk_whitebox_no_slack_attack_p2 (__main__.EvasionEnd2EndTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_evasion_attack.py", line 76, in test_kreuk_whitebox_no_slack_attack_p2
p_norm=2
TypeError: Can't instantiate abstract class CKreukEvasion with abstract methods f_eval, grad_eval, objective_function, objective_function_gradient
======================================================================
ERROR: test_padding_whitebox_ember_model_attack (__main__.EvasionEnd2EndTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_evasion_attack.py", line 54, in test_padding_whitebox_ember_model_attack
is_debug=True
TypeError: Can't instantiate abstract class CPaddingEvasion with abstract methods f_eval, grad_eval, objective_function, objective_function_gradient
======================================================================
ERROR: test_pe_shift_attack (__main__.EvasionEnd2EndTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_evasion_attack.py", line 138, in test_pe_shift_attack
is_debug=True
TypeError: Can't instantiate abstract class CFormatExploitEvasion with abstract methods f_eval, grad_eval, objective_function, objective_function_gradient
======================================================================
ERROR: test_section_shift_attack (__main__.EvasionEnd2EndTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_evasion_attack.py", line 128, in test_section_shift_attack
is_debug=True
TypeError: Can't instantiate abstract class CFormatExploitEvasion with abstract methods f_eval, grad_eval, objective_function, objective_function_gradient
======================================================================
ERROR: test_suciu_appending_whitebox_attack (__main__.EvasionEnd2EndTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_evasion_attack.py", line 108, in test_suciu_appending_whitebox_attack
is_debug=True
TypeError: Can't instantiate abstract class CSuciuEvasion with abstract methods f_eval, grad_eval, objective_function, objective_function_gradient
======================================================================
ERROR: test_suciu_appending_whitebox_no_slack_attack (__main__.EvasionEnd2EndTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_evasion_attack.py", line 118, in test_suciu_appending_whitebox_no_slack_attack
compute_slack=False
TypeError: Can't instantiate abstract class CSuciuEvasion with abstract methods f_eval, grad_eval, objective_function, objective_function_gradient
======================================================================
ERROR: test_whitebox_ember_model_attack_no_random_init (__main__.EvasionEnd2EndTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_evasion_attack.py", line 35, in test_whitebox_ember_model_attack_no_random_init
random_init=False,
TypeError: Can't instantiate abstract class CHeaderEvasion with abstract methods f_eval, grad_eval, objective_function, objective_function_gradient
======================================================================
ERROR: test_whitebox_ember_model_attack_random_init (__main__.EvasionEnd2EndTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_evasion_attack.py", line 27, in test_whitebox_ember_model_attack_random_init
random_init=True,
TypeError: Can't instantiate abstract class CHeaderEvasion with abstract methods f_eval, grad_eval, objective_function, objective_function_gradient
----------------------------------------------------------------------
Ran 11 tests in 43.858s
FAILED (errors=11)
from secml_malware.
Hi!
Thank you for the issue! I found that secML (the library that I use as base) was updated and things changed under the hood!
I'm fixing it now.
from secml_malware.
Related Issues (20)
- How to run lightGBM and SOREL model using secml_malware? HOT 2
- No data preprocessing for SorelNet? HOT 2
- Error while running the sample attack code from blackbox_tutorial.ipynb HOT 4
- real sample generation HOT 5
- can't attack EMBER model HOT 1
- Confidence on Microsoft Malware Classification Challenge HOT 10
- Differences Between WhiteBox Attacks HOT 7
- Adding support for QuoVadis models HOT 2
- AttributeError: 'NoneType' object has no attribute 'dos_header' HOT 4
- No such file or directory: 'secml_malware/data/malware_samples/test_folder' HOT 3
- lightGBM and SOREL model weights? HOT 1
- Support for ensemble models HOT 1
- SOREL ATTACK HOT 1
- CGammaSectionsEvasionProblem attack budget HOT 6
- FGSM Attacking Running for days HOT 1
- Train models HOT 5
- Fix numpy retrocompatibility for CClassifierEmber
- issue installing secml-malware with pip with python 3.12
- Wrong ember prediction
- GAMMA section injections might load sections at random
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secml_malware.