Skip to main content
.NETStandard2.0

基于ARM服务器编译KaldiNativeFbankSharp V1.1.2版本KaldiNativeFbank依赖库

NuGetCompare
Published
May 20, 2024
2y ago
Total Downloads
278
278

Install

dotnet add package Citms.KaldiNativeFbank-arm64 --version 1.1.2
ProductVersions
.NET Standard
netstandard2.0

README

KaldiNativeFbank ARM64

基于ARM服务器编译KaldiNativeFbankSharp V1.1.2版本KaldiNativeFbank依赖库,编译步骤如下

1.编写Dockerfile

FROM nvcr.io/nvidia/cuda:11.4.3-cudnn8-devel-ubuntu20.04

WORKDIR /app
RUN apt install -y cmake g++ wget unzip
RUN wget -O KaldiNativeFbankSharp.zip https://github.com/manyeyes/KaldiNativeFbankSharp/archive/refs/heads/master.zip
RUN unzip KaldiNativeFbankSharp.zip
RUN cd KaldiNativeFbankSharp-master/kaldi-native-fbank-so-linux-cmake && mkdir -p build && cd build
RUN cmake ..  && make

2.构建docker镜像

docker build -t KaldiNativeFbank-build .

3.运行镜像拷贝文件

docker run --rm -it --name=KaldiNativeFbank-build KaldiNativeFbank-build /bin/bash
docker cp KaldiNativeFbank-build:/app/KaldiNativeFbankSharp-master/kaldi-native-fbank-so-linux-cmake/build/libkaldi-native-fbank-core.so /root
  • 编译后的文件,拷贝到宿主机 /root目录下 libkaldi-native-fbank-core.so 将文件重命名成 libkaldi-native-fbank.so

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.