Comments (6)
Thanks for your interest in our work! 👋
I've updated the requirements.txt
file. Please kindly pull the changes and try again. Sorry for the inconvenience caused.
from poisoning_membership.
thanks!
from poisoning_membership.
你好,我有两个疑问:
from poisoning_membership.
Hi,
Regarding Question 1, could you please provide additional details about the results obtained after running the code? It would be helpful to know the current sub-directories and any logging information available. Having more specific information will assist in identifying and resolving the issue quickly.
During the evaluation stage, the code reads the poisoning data and the poisoned model stored on the disk and then performs the evaluation. If the code displays the evaluation results, it indicates that the dataset and model should be located in their respective directories.
As for Question 2, before the del
command is executed, the function get_poisoned_model()
is called to generate the poisoned model and save it to the disk.
Subsequently, the del
command is used to remove the poisoned model from the current session. This step is necessary to explicitly release the GPU memory occupied by the poisoned model. Without this explicit release, the memory used by the poisoned model may not be freed, leading to GPU memory leakage when generating additional poisoned models.
from poisoning_membership.
明白了,谢谢!我发现clean_label_attack训练的很慢,是不是没有放到gpu上运行?我没有看到gpu上面运行的代码
from poisoning_membership.
Hi,
You may monitor the GPU usage during the code execution. If you find the code is not executed on GPU, try to choose the GPU device by setting the argument --device_no
. An alternative approach is to modify Line 21 of poisoning_attack.py.
Hope the above suggestions are helpful to you! 🤗
from poisoning_membership.
Related Issues (3)
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 poisoning_membership.