Giter Site home page Giter Site logo

fastfeedforward's People

Contributors

pbelcak avatar tolgacangoz 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

fastfeedforward's Issues

GREAT WORK

Arguably the most impactful paper released this year. Great work guys.

Error: Cannot use soft decisions during evaluation.

Hello,
thanks for publishing the code along with your paper. While reading your paper, I tried to run the demo notebook from this repository. I modified it slightly for colab to use the pip package instead of the local repository. However, I run into this issue:

ValueError                                Traceback (most recent call last)
<ipython-input-6-809883d6966a> in <cell line: 10>()
     32         testing_accuracies = []
     33         for batch_images, batch_labels in tqdm(dataloader_testing):
---> 34                 output = model(batch_images.view(-1, 784))
     35                 loss = criterion(output, batch_labels)
     36                 accuracy = (output.argmax(dim=1) == batch_labels).detach().float().mean()

1 frames
/usr/local/lib/python3.10/dist-packages/fastfeedforward/fff.py in forward(self, x, return_entropies, use_hard_decisions)
    332                                 raise ValueError("Cannot return entropies during evaluation.")
    333                         if not use_hard_decisions:
--> 334                                 raise ValueError("Cannot use soft decisions during evaluation.")
    335                         return self.eval_forward(x)
    336 

ValueError: Cannot use soft decisions during evaluation.

Here is the notebook to reproduce the error:

https://colab.research.google.com/drive/1apDlwbJPGMMoNodTOUx5m8Klnp8zE7T-?usp=sharing

The eval forward speed dropped significantly

The network's running speed in the eval state has dropped significantly. I don't know what's going on. There are no errors reported. During training, only 30 seconds were used for 1140 steps of iteration, while one step in the eval state took 1-2 seconds.
i took a FFF(40,40,2,4) at the end of my backbone net on cuda.
I'm working on a task, and your work is suits me very well, but it's too difficult to use,sad.

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.