Skip to content

Moved pre-warm to DSP and call it in get_dsp()#90

Merged
sdatkinson merged 1 commit into
sdatkinson:mainfrom
mikeoliphant:prewarm
Dec 2, 2023
Merged

Moved pre-warm to DSP and call it in get_dsp()#90
sdatkinson merged 1 commit into
sdatkinson:mainfrom
mikeoliphant:prewarm

Conversation

@mikeoliphant

Copy link
Copy Markdown
Contributor

This PR adds a prewarm() method to the DSP base class that gets called from get_dsp().

The default behavior is to process the model over "_prewarm_samples" samples. By default, this is 0 - so nothing happens for LSTM (which is what we want).

WaveNet and ConvNet both set "_prewarm_samples" to the size of the model's receptive field.

@sdatkinson I don't use ConvNet, so I'm not sure I got the receptive field correct - can you make sure to check it?

Resolves #89
Resolves #61

@sdatkinson sdatkinson left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍🏻

Comment thread NAM/convnet.cpp
@sdatkinson sdatkinson merged commit b67aaa2 into sdatkinson:main Dec 2, 2023
EdwardPayne added a commit to EdwardPayne/NeuralAmpModelerReamping that referenced this pull request Dec 30, 2023
* Move pre-warm to DSP and call it in get_dsp() (sdatkinson#90)

* Add nam namespace (sdatkinson#93)

* Fix tools (sdatkinson#94)

* [BREAKING] Remove parametric modeling code (sdatkinson#95)

* Get rid of parametric modeling code

* Virtual set condition array

* Bump version to 0.1.0

---------

Co-authored-by: Mike Oliphant <oliphant@nostatic.org>
Co-authored-by: Steven Atkinson <steven@atkinson.mn>
@mikeoliphant mikeoliphant deleted the prewarm branch January 22, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move pre-warm to overridable method Apply "anti-pop" for all network types

2 participants