A very long initialization time of filters (deep + entry)
See original GitHub issueEnvironment
- OS Version:
macOS 10.13.3
- Node.js Version:
8.9.0
Source
The problem
We have to figure out a way to reduce the initialization time of filters. Something like 14ms for the following tasks:
{ base: 'src/types/one',
dynamic: true,
patterns: [ 'src/types/one/*/sub/y/y.json' ],
positive: [ 'src/types/one/*/sub/y/y.json' ],
negative: [] }
Prepare reader options: 8.445ms
{ base: 'src/types/two',
dynamic: true,
patterns: [ 'src/types/two/*/sub/y/y.json' ],
positive: [ 'src/types/two/*/sub/y/y.json' ],
negative: [] }
Prepare reader options: 1.802ms
{ base: 'src/types/three',
dynamic: true,
patterns: [ 'src/types/three/*/sub/y/y.json' ],
positive: [ 'src/types/three/*/sub/y/y.json' ],
negative: [] }
Prepare reader options: 1.400ms
{ base: 'src/types/four',
dynamic: true,
patterns: [ 'src/types/four/*/sub/y/y.json' ],
positive: [ 'src/types/four/*/sub/y/y.json' ],
negative: [] }
Prepare reader options: 0.794ms
{ base: 'src/types/five',
dynamic: true,
patterns: [ 'src/types/five/*/sub/y/y.json' ],
positive: [ 'src/types/five/*/sub/y/y.json' ],
negative: [] }
Prepare reader options: 2.111ms
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
A Novel Set Of Weight Initialization Techniques For Deep ...
Researchers, like He and Glorot, have proposed weight initialization techniques that aim to keep the variance of the input gradient and the output...
Read more >Orthogonal Initialization in Convolutional Layers
In this post we briefly describe some properties of orthogonal matrices that make them useful for training deep networks, before discussing ...
Read more >Why cautiously initializing deep neural networks matters?
A bad initialization can really hinder the learning of the highly non-linear system. Due to random initialization, the first layer throws away most...
Read more >WHEN IS A CONVOLUTIONAL FILTER EASY TO LEARN?
We show that (stochastic) gradient descent with random initialization can learn the convolutional filter in polynomial time and the convergence rate depends on ......
Read more >Convolution Aware Initialization - arXiv
We utilized skip connections as originally proposed in the paper, with 256 filters for every convolutional layer, with a dilation depth of 9...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The original problem is fixed after migration from
micromatch@3
tomicromatch@4
.https://github.com/mrmlnc/fast-glob/issues/154
The next slowdown problem will be fixed in the issue #156.
Hello, @jonschlinkert,
Thanks for quickly response. I answered you in the previously created issue in the micromatch repository. I think we don’t need to hurry.