psandovalsegura / autoregressive-poisoning Goto Github PK
View Code? Open in Web Editor NEWCode for the paper "Autoregressive Perturbations for Data Poisoning" (NeurIPS 2022)
License: MIT License
Code for the paper "Autoregressive Perturbations for Data Poisoning" (NeurIPS 2022)
License: MIT License
Hello, what is "num_samples"? Why is the default value 1000000?
Hi, sir, when I ran this command “python autoregressive_param_finder.py --total=10 --required_nm_response=10 --gen_norm_upper_bound=50”, an error occurred. As follows:
Traceback (most recent call last):
File "autoregressive_param_finder.py", line 83, in
main() , einops [0/1168]
File "autoregressive_param_finder.py", line 38, in main
gen, gen_norm = ar_p.generate(eps=1.0, p=2, size=(36,36), crop=4)
File "/ar/autoregressive.py", line 44, in generate
val = torch.nn.functional.conv2d(start_signal[:,i:i+kernel_size,j:j+kernel_size], ar_coeff, groups=self.num_channels)
RuntimeError: Expected 4-dimensional input for 4-dimensional weight [3, 1, 3, 3], but got 3-dimensional input of size [3, 3, 3] instead
How can I resolve it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.