Some checks failed
Linux Build / Linux cpu (push) Has been cancelled
Linux Build / Linux cpu-clang (push) Has been cancelled
Linux Build / Linux vulkan (push) Has been cancelled
mac-build / macOS CPU (push) Has been cancelled
Nix Build / Nix (cpu) (push) Has been cancelled
Nix Build / Nix (vulkan) (push) Has been cancelled
windows-build / Windows CPU (push) Has been cancelled
21 lines
728 B
C++
21 lines
728 B
C++
#pragma once
|
|
|
|
#include "engine/framework/assets/resource_bundle.h"
|
|
|
|
#include <filesystem>
|
|
#include <memory>
|
|
|
|
namespace engine::models::meanvc2 {
|
|
|
|
struct MeanVC2Assets {
|
|
engine::assets::ResourceBundle resources;
|
|
std::shared_ptr<const engine::assets::TensorSource> flow_weights;
|
|
std::shared_ptr<const engine::assets::TensorSource> vocos_weights;
|
|
std::shared_ptr<const engine::assets::TensorSource> asr_weights;
|
|
std::shared_ptr<const engine::assets::TensorSource> speaker_wavlm_weights;
|
|
std::shared_ptr<const engine::assets::TensorSource> speaker_ecapa_weights;
|
|
};
|
|
|
|
std::shared_ptr<const MeanVC2Assets> load_meanvc2_assets(const std::filesystem::path & model_path);
|
|
|
|
} // namespace engine::models::meanvc2
|