Git Product home page Git Product logo

leaf-pytorch's Introduction

Hi there 👋

Sarthak's github stats

leaf-pytorch's People

Contributors

sarthakyadav 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

Watchers

 avatar  avatar

leaf-pytorch's Issues

Speech Command Dataset

Hi @SarthakYadav

For Speech Command Classification, please let me know which dataset you used.
I can't find csv file in speech_commands v0.02.tar.gz.

Thansk.

pip installable package

Hi @SarthakYadav

thanks for the great code! I think it would be easier to use it if you would turn it into a pip-installable library. I could create a PR to do this if you are interested..

Does the code process the signal and implement the window function?

I am reading some paper saying ,before changing the signal into the feature images,they were using window function.I am wondering is it also in this code repository . I searched the raw_dataset.py. raw_transforms.py and train.py, but i coudn't find where to change signal.

btw,in the raw_transforms.py ,class Compose ,is it 's input is a image?still the same question,where you change the signal express

module 'torchaudio.transforms' has no attribute 'create_fb_matrix'

thanks for your code! help us a lot!
when i run train,i got this Error:

File "train.py", line 334, in
acc = train(ARGS)
File "train.py", line 149, in train
model = Classifier(cfg).to(device)
File "/home/xxx/Ben/code/leaf-pytorch/models/classifier.py", line 11, in init
self.features = get_frontend(cfg)
File "/home/xxx/Ben/code/leaf-pytorch/leaf_pytorch/frontend_helper.py", line 25, in get_frontend
fe = Leaf(use_legacy_complex=use_legacy_complex, initializer=initializer)
File "/home/xxx/Ben/code/leaf-pytorch/leaf_pytorch/frontend.py", line 56, in init
use_legacy_complex=use_legacy_complex
File "/home/xxx/Ben/code/leaf-pytorch/leaf_pytorch/convolution.py", line 45, in init
init_weights = initializer((self._filters, 2))
File "/home/xxx/Ben/code/leaf-pytorch/leaf_pytorch/initializers.py", line 18, in call
return gabor_filters.gabor_params_from_mels()
File "/home/xxx/Ben/code/leaf-pytorch/leaf_pytorch/filters.py", line 30, in gabor_params_from_mels
sqrt_filters = torch.sqrt(self.mel_filters())
File "/home/xxx/Ben/code/leaf-pytorch/leaf_pytorch/filters.py", line 49, in mel_filters
mel_filters = torchaudio.transforms.create_fb_matrix(
AttributeError: module 'torchaudio.transforms' has no attribute 'create_fb_matrix'

i found that maybe "create_fb_matrix" was deprecated (i'm using 0.11). https://github.com/pytorch/audio/issues/1669。

how can i fix it. or can i using others replace it?

of cause i will go back to the past version and try.

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.