Skip to content

[FEATURE] Sequential model #142

@sdatkinson

Description

@sdatkinson

TODO checklist

  • Factory to initialize from .nam file.
  • Document .nam file version 0.5.5 to include "sequential".
    • No "weights" nor "sample_rate" fields at the top level--these are part of the layers (and sample rates are asserted to be compatible)

Description

Motivation: Pocket Master can't run an IR at the same time as a NAM. This means that full rig NAMs are needed. Unfortunately, if you have a NAM that you usually use in serial with an IR, you'd have to somehow combine those. Re-training is one option, but I don't like that (1) it's lossy, and (2) it's a waste of GPU.

Solution: Define a new kind of .nam that's a serial concatenation of other NAMs.

E.g. one could combine a NAM of an amp with a linear NAM (aka an IR) of a cab to get a full rig NAM.

Obviously this doesn't do anything to the weights of either or magically make the resulting NAM take less CPU to run, or make it usable on hardware that only support the model architectures as of v0.2.0--it's just a convenience wrapper that might make it easier to get full rig NAMs, but might make it easier to make models that combine multiple sub-models.

Named "sequential" in reference to torch.nn.Sequential, which does a similar compositional thing.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions