Comments (16)
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.
@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'
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.
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.
Hi , Thanks for the support. We have another error after changing the two files.
from defensegan.
please pull again
from defensegan.
Hi . Sorry for the trouble . Here is another one
from defensegan.
please pull again
from defensegan.
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.
from defensegan.
np, please pull
from defensegan.
from defensegan.
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.
Hi. Thanks very much. This looks promising. I will update you soon once the whole iteration is complete.
from defensegan.
Hi. @po0ya . Please find the update.
from defensegan.
It would be highly appreciated if you can look for the correct file. Thank you.
from defensegan.
closing this since resolved in offline discussions
from defensegan.
Hi. @po0ya . Please find the update.
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)
- Whitebox attack not working? HOT 6
- problem for nonetype HOT 2
- Unable to find current revision in submodule path 'cleverhans' HOT 1
- how to use my own picture dataset rather than MNIST or CelebA dataset? HOT 1
- The distortion between benign images and adversarial images
- Is this code based on python2.7? HOT 3
- Error while running in python 3.5 HOT 3
- TypeError: The model argument should be an instance of the cleverhans.model.Model class.
- matching numbers from the paper HOT 1
- absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'cfg'. Did you mean: cfg_path ? HOT 1
- Test on a single Already Perturbed Image HOT 2
- White box attack not working HOT 2
- WGAN-GP loss function : Equation is not same as presented in WGAN-GP paper
- Typo in requirements.txt HOT 1
- Errors in download_dataset.py file HOT 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 defensegan.