khorrams / igos_pp Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://igos.eecs.oregonstate.edu/
License: GNU General Public License v3.0
Home Page: https://igos.eecs.oregonstate.edu/
License: GNU General Public License v3.0
@mingqiJ please acknowledge the other repo if this whole file (and the other one) was copied from others' repo.
Trying to use IGOS for CIFAR10 data set.
IGOS(network, sample.reshape(1,3,32,32).cuda().detach(), baseline.detach(), torch.Tensor([clss]), size = 32)
got this error message:
63 :return:
64 """
---> 65 return upscale.up(masks).expand((-1,1,upscale.out_size,upscale.out_size)) # TODO
66
67
AttributeError: 'function' object has no attribute 'up'
any idea how to fix that?
发生异常: RuntimeError
unsupported operation: some elements of the input tensor and the written-to tensor refer to a single memory location. Please clone() the tensor before performing the operation.
File "/home/lab/project/igos/heatmap-feature-mining/methods_helper.py", line 167, in line_search
indices[indices] = losses > base_losses[indices] + alphas[indices] * t[indices]
File "/home/lab/project/igos/heatmap-feature-mining/methods.py", line 89, in IGOS
alphas = line_search(masks, total_grads, loss_function, alpha)
File "/home/lab/project/igos/heatmap-feature-mining/main.py", line 51, in gen_explanations
masks = method(
File "/home/lab/project/igos/heatmap-feature-mining/main.py", line 142, in
gen_explanations(model, data_loader, args)
Please explain what each parameter mean in methods.py
Please add what LS and NAG stand for.
Please add where to find those model files.
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.