Comments (1)
@takeofuture so some of the details of how the cfg file works will be in https://github.com/ksanjeevan/torchparse. Basically, you can do something like:
[conv2d]
out_channels=16
kernel_size=3
stride=1
padding=valid
[batchnorm2d]
[elu]
[maxpool2d]
kernel_size=3
stride=3
[dropout]
p=0.1
[conv2d]
out_channels=16
kernel_size=3
stride=1
padding=valid
[batchnorm2d]
[elu]
[maxpool2d]
kernel_size=3
stride=3
[dropout]
p=0.1
...
And keep adding convolutions. At no point do you have to pre-define an input size as depending on the model you've defined, multiple input dimensions can be valid.
If using torchparse
is confusing, or you'd rather define your model some other way, you can just write your own in net/
, or modify
crnn-audio-classification/net/model.py
Line 29 in f09449b
from crnn-audio-classification.
Related Issues (20)
- How can i change the batch size? HOT 1
- Need Help as I am beignner in Audio classification HOT 1
- When I was running the task, I found that the GPU was not used, but the CPU. How should I modify it to make the code run on the GPU? HOT 1
- Error: Kernel size can't be greater than actual input size HOT 1
- Trainable parameters: 0
- Pretrained weights availability HOT 1
- Model HOT 3
- questions about transforms HOT 2
- macOS?
- EOFError: Ran out of input
- RuntimeError: mat1 and mat2 shapes cannot be multiplied (24600x1 and 1025x128) HOT 3
- How to use self-made audio files for training
- ValueError: optimizer got an empty parameter list HOT 1
- I have a problem while I run this project HOT 4
- No License
- About UrbanSound8K HOT 1
- Error while training using notebook HOT 6
- how to transfowm the model file to Torchscript HOT 1
- how can I get the input size HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crnn-audio-classification.