Code Monkey home page Code Monkey logo

viscnn_iclr_2014_saliency's Introduction

VisCNN_ICLR_2014_Saliency

Brief Introduction

A PyTorch implementation of the paper "Deep inside convolutional networks: Visualising image classification models and saliency maps"

Paper

@article{simonyan2013deep,
  title={Deep inside convolutional networks: Visualising image classification models and saliency maps},
  author={Simonyan, Karen and Vedaldi, Andrea and Zisserman, Andrew},
  journal={arXiv preprint arXiv:1312.6034},
  year={2013}
}

viscnn_iclr_2014_saliency's People

Contributors

hhuang-code avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ml-edu

viscnn_iclr_2014_saliency's Issues

Cann't find the file clsloc.txt

Hi,
I have a problem when i run the code, the error is that:
cann't find the file clsloc.txt

Then i check the file helpers.py, the source code as follows:
…………
def get_labels(filename_list):
# load 1000 categories ids
clsloc_file = '/localdisk/dataset/tiny-imagenet-100-A/clsloc.txt'
with open(clsloc_file) as f:
content = f.readlines()
content = [x.strip() for x in content]
…………
But the file clsloc.txt is not exist, so i don't know the format of this file.
can you give me a help?
Thanks!!!

Turn label into a tensor ?

请问demo.py中line 32 : labels = [int(x) for x in labels] 是为什么呢?Label是具体标签,为什么要用int(x)呢,感觉转换不成Int呀,这里一直报错。谢谢!

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.