Git Product home page Git Product logo

Comments (10)

ChandlerBang avatar ChandlerBang commented on August 15, 2024

Hi, I think you can try increase the weight of the low rank loss, i.e. $\beta$ or lower the value of other loss weights. But I feel it weird since the $\beta$ in the original Pro-GNN setting is already pretty large....

You can first try what I suggested. If you still have problems, you can come back here.

from deeprobust.

zhangxiaowei5346 avatar zhangxiaowei5346 commented on August 15, 2024

Hi, I think you can try increase the weight of the low rank loss, i.e. $\beta$ or lower the value of other loss weights. But I feel it weird since the $\beta$ in the original Pro-GNN setting is already pretty large....

You can first try what I suggested. If you still have problems, you can come back here.

Thanks for your reply and I will try your suggestion!

from deeprobust.

qianxiao111 avatar qianxiao111 commented on August 15, 2024

Hi, I think you can try increase the weight of the low rank loss, i.e. $\beta$ or lower the value of other loss weights. But I feel it weird since the $\beta$ in the original Pro-GNN setting is already pretty large....
You can first try what I suggested. If you still have problems, you can come back here.

Thanks for your reply and I will try your suggestion!

Hi, when

Hi, I think you can try increase the weight of the low rank loss, i.e. $\beta$ or lower the value of other loss weights. But I feel it weird since the $\beta$ in the original Pro-GNN setting is already pretty large....
You can first try what I suggested. If you still have problems, you can come back here.

Thanks for your reply and I will try your suggestion!

Hello, when I test examples by using "python examples/image/test_PGD.py", the error is that Load network
Traceback (most recent call last):
File "examples/image/test_PGD.py", line 19, in
import ipdb
ModuleNotFoundError: No module named 'ipdb'
I installed ipdb, but it has the same error. Could you give me some suggestion?

from deeprobust.

ChandlerBang avatar ChandlerBang commented on August 15, 2024

Hi,

I cannot reproduce the bug but you can simply remove the two lines of code import ipdb; ipdb.set_trace() in test_PGD.py as it is just a debugging tool.

from deeprobust.

qianxiao111 avatar qianxiao111 commented on August 15, 2024

Hi,

I cannot reproduce the bug but you can simply remove the two lines of code import ipdb; ipdb.set_trace() in test_PGD.py as it is just a debugging tool.

Thank you very much!

from deeprobust.

qianxiao111 avatar qianxiao111 commented on August 15, 2024

Hi,

I cannot reproduce the bug but you can simply remove the two lines of code import ipdb; ipdb.set_trace() in test_PGD.py as it is just a debugging tool.

Hi, Could you give me some suggestion? When I test examples by using "python examples/image/test_lbfgs.py", the error is that File "examples/image/test_lbfgs.py", line 28, in
AdvExArray, dis, loss, valueofc= attack.generate(xx, yy, **attack_params['LBFGS_MNIST'])
TypeError: generate() missing 1 required positional argument: 'target_label'

from deeprobust.

YaxinLi0-0 avatar YaxinLi0-0 commented on August 15, 2024

Hi,
I cannot reproduce the bug but you can simply remove the two lines of code import ipdb; ipdb.set_trace() in test_PGD.py as it is just a debugging tool.

Thank you very much!

Yes, you can simply remove the two lines. I'll also remove them from the example. Thanks!

from deeprobust.

qianxiao111 avatar qianxiao111 commented on August 15, 2024

Hi,
I cannot reproduce the bug but you can simply remove the two lines of code import ipdb; ipdb.set_trace() in test_PGD.py as it is just a debugging tool.

Thank you very much!

Yes, you can simply remove the two lines. I'll also remove them from the example. Thanks!

Thanks. I have another problem. When I test examples by using "python examples/image/test_lbfgs.py", the error is that File "examples/image/test_lbfgs.py", line 28, in
AdvExArray, dis, loss, valueofc= attack.generate(xx, yy, **attack_params['LBFGS_MNIST'])
TypeError: generate() missing 1 required positional argument: 'target_label'. I have not find the value of target_label.Could you give me some suggestion.

from deeprobust.

YaxinLi0-0 avatar YaxinLi0-0 commented on August 15, 2024

Hi,
I cannot reproduce the bug but you can simply remove the two lines of code import ipdb; ipdb.set_trace() in test_PGD.py as it is just a debugging tool.

Thank you very much!

Yes, you can simply remove the two lines. I'll also remove them from the example. Thanks!

Thanks. I have another problem. When I test examples by using "python examples/image/test_lbfgs.py", the error is that File "examples/image/test_lbfgs.py", line 28, in
AdvExArray, dis, loss, valueofc= attack.generate(xx, yy, **attack_params['LBFGS_MNIST'])
TypeError: generate() missing 1 required positional argument: 'target_label'. I have not find the value of target_label.Could you give me some suggestion.

Yes, for lbfgs attack we need to specify the target_label. Plz see the updated example.

from deeprobust.

qianxiao111 avatar qianxiao111 commented on August 15, 2024

Hi,
I cannot reproduce the bug but you can simply remove the two lines of code import ipdb; ipdb.set_trace() in test_PGD.py as it is just a debugging tool.

Thank you very much!

Yes, you can simply remove the two lines. I'll also remove them from the example. Thanks!

Thanks. I have another problem. When I test examples by using "python examples/image/test_lbfgs.py", the error is that File "examples/image/test_lbfgs.py", line 28, in
AdvExArray, dis, loss, valueofc= attack.generate(xx, yy, **attack_params['LBFGS_MNIST'])
TypeError: generate() missing 1 required positional argument: 'target_label'. I have not find the value of target_label.Could you give me some suggestion.

Yes, for lbfgs attack we need to specify the target_label. Plz see the updated example.

Thank you very much!

from deeprobust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.