Code Monkey home page Code Monkey logo

Comments (16)

po0ya avatar po0ya commented on September 4, 2024 1

Hi @bibin-sebastian, thanks for pointing this out!
Unfortunately, we don't have the right environment/data setup to test the fix, can you please try get_celeba_fix branch (git pull origin get_celeba_fix and git checkout get_celeba_fix) and see if this is fixed. This is due to an obsolete argument transform_type for the load function. Let us know if more fixes are needed to get celeba running. Will merge the branch into master after making sure that it works fully.

from defensegan.

bibin-sebastian avatar bibin-sebastian commented on September 4, 2024

@po0ya .Thanks for the reply . tried that and hit two more issue. The first issue was with "dev_name = 'dev'" variable which did not have a matching description in CelebA.py. So changed dev_name to "val". Then the next issue where I am stuck badly is --- 'LazyDataset' object has no attribute 'shape'

screen shot 2018-11-04 at 2 58 50 pm

screen shot 2018-11-04 at 3 03 03 pm

My need is to run a whitebox attack on model A . the file that was run --> whitebox.py.

Error description below ------------

name: Tesla K80 major: 3 minor: 7 memoryClockRate(GHz): 0.8235pciBusID: 0000:00:04.0totalMemory: 11.17GiB freeMemory: 11.10GiB2018-11-04 19:56:36.788679: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1490] Adding visible gpu devices: 02018-11-04 19:56:37.093072: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] Device interconnect StreamExecutor with strength 1 edge matrix:2018-11-04 19:56:37.093135: I tensorflow/core/common_runtime/gpu/gpu_device.cc:977] 0 2018-11-04 19:56:37.093148: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990] 0: N 2018-11-04 19:56:37.093444: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1103] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10758 MB memory) -> physical GPU (device: 0, name: Tesla K80, pci bus id: 0000:00:04.0, compute capability: 3.7) [*] Checkpoint is read successfully from output/gans/celebaTraceback (most recent call last): File "whitebox.py", line 395, in tf.app.run(main=main_cfg) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 125, in run _sys.exit(main(argv)) File "whitebox.py", line 394, in main_cfg = lambda x: main(cfg, x) File "whitebox.py", line 292, in main num_train=FLAGS.num_train, File "whitebox.py", line 106, in whitebox x_shape = [None] + list(train_images.shape[1:])AttributeError: 'LazyDataset' object has no attribute 'shape'

from defensegan.

po0ya avatar po0ya commented on September 4, 2024

thanks again, pushed a few file changes, take a look at the file changes in #4, let us know if further changes are needed. Please git pull origin get_celeba_fix to get the updates.

from defensegan.

bibin-sebastian avatar bibin-sebastian commented on September 4, 2024

Hi , Thanks for the support. We have another error after changing the two files.

screen shot 2018-11-04 at 3 43 38 pm

from defensegan.

po0ya avatar po0ya commented on September 4, 2024

please pull again

from defensegan.

bibin-sebastian avatar bibin-sebastian commented on September 4, 2024

Hi . Sorry for the trouble . Here is another one
screen shot 2018-11-04 at 4 15 57 pm

from defensegan.

po0ya avatar po0ya commented on September 4, 2024

please pull again

from defensegan.

bibin-sebastian avatar bibin-sebastian commented on September 4, 2024

Hi @po0ya we had to switch VM due to CUDA 7.21 so it took a bit of time to run the code after switching the VM . It felt like the code ran for some time since I could see that GPU (1300MB) & CPU utilization was up .However, we hit another road block.

screen shot 2018-11-04 at 6 24 21 pm

from defensegan.

po0ya avatar po0ya commented on September 4, 2024

np, please pull

from defensegan.

bibin-sebastian avatar bibin-sebastian commented on September 4, 2024

Hi. another similar error
screen shot 2018-11-04 at 8 37 32 pm

from defensegan.

po0ya avatar po0ya commented on September 4, 2024

please pull,
[now I remembered that this file is an older version of the file for some reason, from before the deadline! if it's not fixed in this conversation, I'll go find the latest version of this file.]

from defensegan.

bibin-sebastian avatar bibin-sebastian commented on September 4, 2024

Hi. Thanks very much. This looks promising. I will update you soon once the whole iteration is complete.
screen shot 2018-11-04 at 9 35 16 pm

from defensegan.

bibin-sebastian avatar bibin-sebastian commented on September 4, 2024

Hi. @po0ya . Please find the update.
screen shot 2018-11-05 at 8 27 51 am

from defensegan.

bibin-sebastian avatar bibin-sebastian commented on September 4, 2024

It would be highly appreciated if you can look for the correct file. Thank you.

from defensegan.

po0ya avatar po0ya commented on September 4, 2024

closing this since resolved in offline discussions

from defensegan.

shubham-malaviya avatar shubham-malaviya commented on September 4, 2024

Hi. @po0ya . Please find the update.
screen shot 2018-11-05 at 8 27 51 am

Hi,
i'm getting the same error after running whitbox.py with the configuration given in Readme. I go the error at line #210 "adv_x = attack_obj.generate(images_pl, **attack_params)". If you have resolved the issue can you please help me?

Thank you.

from defensegan.

Related Issues (16)

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.