GithubHelp home page GithubHelp logo

sact's People

Contributors

mfigurnov 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

sact's Issues

I see redundant images after imagenet_export and draw_ponder_maps

I ran the whole validation set with batch size 50, so I got 50000 image jpgs and 50000 ponder map pngs.
I tried to find the figure in your README just to make sure everything's done well.
I only found the one below,
image
and I found I have couple of redundant images like:
screenshot from 2018-04-27 14-15-12
My ImageNet raw-data seems find but I think I have a problem with tfrecord,
since I get almost 0 evaluation accuracy only in ImageNet (doing well on cifar-10).
I also posted an issue about the ImageNet script.
tensorflow/models#4051
I'm planning to reproduce part of your code to pytorch,
and if my issue is just because of the tfrecord issue, I will be fine.
Or am I missing something?
I use 2 Titan XP with python 2.7

Eval on pretrained model takes too long.

I use 2 Titan XP with Tensorflow 1.7.
I tried to evaluate the pretrained model on ImageNet.
Even though I set the flag numexamples to 10 for quicker test,
It is running over 20 hours...
Is this normal?

Cifar-10 global average pooling

In imagenet_model you defined resnet_v2 with global_pool,
is there any reason that cifar model doesn't contain global average pooling?
Am I missing something?
or the part

shortcut = slim.avg_pool2d(shortcut, stride, stride, padding='VALID')

is doing what I am looking for?

Performance issue in the definition of sact_image_heatmap, summary_utils.py

Hello, I found a performance issue in the difinition of sact_image_heatmap, summary_utils.py, tf.stack will be created repeately during the program execution, resulting in reduced efficiency. So I think it should be created before the loop in the sact_image_heatmap.

The same issues exist in:

Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.

How to get the feature maps in your programs

Hi, recently i wanna visualize some intermediate feature maps in your programs. I use some way like
sess = tf.Session() , sess.run(images), {images are the tensor in cifar_main.py file}. It seems that it does not work, i can not convert the images tensor to numpy.
Do you have any idea to get some intermediate feature maps?

SACT for accelerating convolution

I have checked your code and find in file flopsometer.py, function conv2d you don't actually accelerating convolution but just calculate the FLOPS. However, even if FLOPS is less, you cannot say that the convolution operation must be accelerated. Because in convolution, most of the time cost is IO, for example, the im2col operation.

What's the meaning of this paragraph

Recall that the residual function consists of a stack of 1 × 1, 3 × 3 and 1 × 1 convolutional layers. The first convolutional layer has to be evaluated in the positions obtained by dilating the active positions set with a 3 × 3 kernel. The second and third layers need to be evaluated just in the active positions.

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.