Azure / counterfit

a CLI that provides a generic automation layer for assessing the security of ML models
MIT License
799 stars 128 forks source link

EXCEPTION of type 'AttributeError' occurred with message: type object 'Config' has no attribute 'targets_path' #92

Open wearetyomsmnv opened 7 months ago

wearetyomsmnv commented 7 months ago

Hi, i'm install counterfit with conda .. but when i creating new targets .. i have this fail:

Traceback (most recent call last): File "/home/kali/miniconda3/envs/counterfit/lib/python3.8/site-packages/cmd2/cmd2.py", line 2385, in onecmd_plus_hooks stop = self.onecmd(statement, add_to_history=add_to_history) File "/home/kali/miniconda3/envs/counterfit/lib/python3.8/site-packages/cmd2/cmd2.py", line 2836, in onecmd stop = func(statement) File "/home/kali/miniconda3/envs/counterfit/lib/python3.8/site-packages/cmd2/decorators.py", line 379, in cmd_wrapper return func(*args_list, **kwargs) # type: ignore[call-arg] File "/home/kali/miniconda3/envs/counterfit/lib/python3.8/site-packages/examples/terminal/commands/init.py", line 54, in donew new.new_cmd(args) File "/home/kali/miniconda3/envs/counterfit/lib/python3.8/site-packages/examples/terminal/commands/new.py", line 35, in new_cmd if target_name not in os.listdir(Config.targets_path): AttributeError: type object 'Config' has no attribute 'targets_path' EXCEPTION of type 'AttributeError' occurred with message: type object 'Config' has no attribute 'targets_path'