Giter Site home page Giter Site logo

toothlib's Introduction

toothlib

install

首先clone项目到本地,之后在项目根目录下运行以下指令:(cmake使用vs 16 2019 generator)

mkdir build && cd build
cmake .. -DUSER_ID=<您的USER_ID> -DUSER_TOKEN=<您的ZH_TOKEN> -DSERVER_URL=<BASE_URL> -DFILE_SERVER_URL=<FILE_SERVER_URL>

run

  1. 生成sln后将toothlib设为启动项,之后可正常生成、编译。
  2. 在/build/Debug下生成exe后,需要将随api提供的libchohotech_gum_deform_x64.dll文件复制到/build/Debug目录下。
  3. 运行项目根目录下的move_dll.bat,以保证libtorch所需动态库的调用。

for libtorch

  1. 下载libtorch:https://download.pytorch.org/libtorch/lts/1.8/cpu/libtorch-win-shared-with-deps-debug-1.8.2%2Bcpu.zip
  2. 解压后将libtorch放到/cmake下
  3. 编译时可能有一组错误:"optional" ambiguous symbol,所有报错的符号前面加"std::"
  4. 运行时显示缺失c10.dll等 将/cmake/libtorch/lib下的dll拷贝到/build/Debug下

toothlib's People

Contributors

aptx-4869-hxb avatar poirot0805 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.