DataPoisoning_FL icon indicating copy to clipboard operation
DataPoisoning_FL copied to clipboard

Model path

Open ayazdine opened this issue 2 years ago • 8 comments

Hi, Could you please solve this issue: I have changed the address for a model pass and export to : f

But I have this error still: What is the problem based on my current generated file in your repository?

ayazdine avatar Feb 14 '23 18:02 ayazdine

@ayazdine Were you able to resolve it?

alok27a avatar Feb 21 '23 18:02 alok27a

Unfortunately, not yet!

Respectfully,

​Abbas Yazdinejad

M Lab


From: Alok Mathur @.> Sent: Tuesday, February 21, 2023 1:21 PM To: git-disl/DataPoisoning_FL @.> Cc: Abbas Yazdinejad @.>; Mention @.> Subject: Re: [git-disl/DataPoisoning_FL] Model path (Issue #7)

CAUTION: This email originated from outside of the University of Guelph. Do not click links or open attachments unless you recognize the sender and know the content is safe. If in doubt, forward suspicious emails to @.***

@ayazdinehttps://github.com/ayazdine Were you able to resolve it?

— Reply to this email directly, view it on GitHubhttps://github.com/git-disl/DataPoisoning_FL/issues/7#issuecomment-1438915280, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYGEWF6ELWWFYCVVZRJCPDLWYUBS7ANCNFSM6AAAAAAU35J7ZU. You are receiving this because you were mentioned.Message ID: @.***>

ayazdine avatar Feb 21 '23 20:02 ayazdine

@ayazdine and @alok27a have you manage to solve this issue please???

nsmalotaibi avatar Apr 11 '23 10:04 nsmalotaibi

NOT YET!

abbasyazdinejad avatar Apr 11 '23 12:04 abbasyazdinejad

@abbasyazdinejad For the screenshot that @ayazdine provides, I guess we should pass the 3000_model files that were generated by the Lebel flipping attack (after changing the (save model) in the arguments file to True instead of false, then pass the saved files here.. Not the default model folder ;) but the bad news, even after I changed, is that the same error appeared !!

nsmalotaibi avatar Apr 12 '23 02:04 nsmalotaibi

@abbasyazdinejad I figured this out .. it is related to the EPOCHS = list(range(1, 10)) Mine ran for 1 epoch only! to check yours, have a look at the generated model (after changing the save model to True) and you can notice that from the name formatting how many epochs there.

nsmalotaibi avatar Apr 12 '23 04:04 nsmalotaibi

@ayazdine Hi, I think I've solved it. The key is to create a model folder in the root directory. In this case, you need to change the "self.save_models" variable in the "arguments.py" file to True, and then re-run the label flipping attack file "label_flipping_attack.py". You will see three more "models" folders in the root directory. Then change the MODELS_PATH in your screenshot and run it.

HaruHoo avatar Nov 15 '23 07:11 HaruHoo

@ayazdine Hi, I think I've solved it. The key is to create a model folder in the root directory. In this case, you need to change the "self.save_models" variable in the "arguments.py" file to True, and then re-run the label flipping attack file "label_flipping_attack.py". You will see three more "models" folders in the root directory. Then change the MODELS_PATH in your screenshot and run it.

哥们这个论文代码你跑起来了吗请问

fengshaw1 avatar Apr 17 '24 13:04 fengshaw1