sreyas-mohan / deepfreq Goto Github PK
View Code? Open in Web Editor NEWCode, Pre-trained Models and some materials accompanying "Data-driven Estimation of Sinusoid Frequencies"
Home Page: https://sreyas-mohan.github.io/DeepFreq/
Code, Pre-trained Models and some materials accompanying "Data-driven Estimation of Sinusoid Frequencies"
Home Page: https://sreyas-mohan.github.io/DeepFreq/
Excuse me, if I want to reduce the frequency training range of the model from -0.5 to -0.1 to 0.1, so that the number of output points remains unchanged and the frequency output range decreases, but the frequency resolution becomes higher, does this leave a parameter interface in your parameters? Or what can be improved to achieve,thank you!
When I run this program, an error appears: UserWarning: Using a target size (torch.Size([256, 1000])) that is different to the input size (torch.Size([256, 1320])). This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size.
Looking forward to your reply
Hi,
I'm attempting to run the example_notebook.iynb code and its giving me an error:
RuntimeError: mat1 and mat2 shapes cannot be multiplied (1x244 and 200x1)
when trying to run the Frequency representation. It seems the fc_module seem to have an issue with the fr_module output size. How would I fix this?
Also, when I run the train.py file for training my own model, the fr_module training finishes, but fc_module training fails and gives me a similar type of error. What is the issue?
Hi,
upon running the ´example_notebook.ipynb´ I discovered a dimensionality bug.
In code cell 7
with torch.no_grad():
fr_0dB = fr_module(torch.tensor(signal_0dB[idx][None]))
nestimate_0dB = fc_module(fr_0dB).numpy().round()
fr_10dB = fr_module(torch.tensor(signal_10dB[idx][None]))
nestimate_10dB = fc_module(fr_10dB).numpy().round()
fr_50dB = fr_module(torch.tensor(signal_50dB[idx][None]))
nestimate_50dB = fc_module(fr_50dB).numpy().round()
fr_0dB = fr_0dB.numpy()
fr_10dB = fr_10dB.numpy()
fr_50dB = fr_50dB.numpy()
the following Runtime error occurs, which points to a dimensionality problem IMHO:
RuntimeError: size mismatch, m1: [1 x 308], m2: [200 x 1] at /pytorch/aten/src/TH/generic/THTensorMath.cpp:41
My environment:
As I was running the notebook to better understand the paper, I am not sure how to resolve this mismatch. Can you let me know how to fix it?
Big thank you for posting your code, btw. I really appreciate the effort.
Looking forward to hear from you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.