MCPcopy Create free account
hub / github.com/RF5/simple-asgan / __init__

Method __init__

hubert_feature_reader.py:17–37  ·  view source on GitHub ↗

Instantiate a hubert feature reader from checkpoint file at `checkpoint_path`, setup to extract features from `layer` of the model. Optionally specify which `device` to perform inference on and the maximum chunk length to process audio on (chunk length is in samples). Note:

(self, checkpoint_path, layer: int, max_chunk=1600000, device='cuda', downsample_factor=320)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected