question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Activation selection within the bottlenecks in the network

See original GitHub issue
if relu:
    activation = nn.ReLU()
else:
    activation = nn.PReLU()

Does doing this ensure that PReLU weights are unique for each instance of activation within the bottlenecks? While trying to trace this network with torch.jit, it gives errors regarding shared weights by nn.PReLU layers within the submodules. Perhaps this should be implemented with copy.deepcopy for all instances?

To follow the original paper more closely, the number of channels can be specified for each PReLU instance to learn a weight per channel as shown here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
heetheshcommented, Jul 22, 2019

@davidtvs Thanks, the tracing works fine now!

0reactions
davidtvscommented, Aug 3, 2019

For future reference - the fix is now on the master branch

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is a Network Bottleneck? - TechTarget
A bottleneck frequently arises from poor network or storage fabric design. Mismatched hardware selection is a common cause. For example, if a workgroup...
Read more >
Bottlenecks, Modularity, and the Neural Control of Behavior
The robustness of the network with respect to the activated neuron is calculated as the number of behaviors that are conserved, that is, ......
Read more >
deep learning - What are "bottlenecks" in neural networks?
The bottleneck in a neural network is just a layer with fewer neurons than the layer below or above it. Having such a...
Read more >
The Importance of Bottlenecks in Protein Networks - PLOS
For simplicity, we defined protein bottlenecks as the proteins with the highest betweenness; hubs, as the proteins with the highest degree (see ...
Read more >
Neural Network Activation Quantization with Bitwise ... - arXiv
Given the constraint of a limited average code rate, the information bottleneck minimizes the rate-distortion for optimal activation ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found