GithubHelp home page GithubHelp logo

nis3366's Introduction

运行方式参考scripts内文件夹。

环境配置

  1. 本工具需要在有英伟达显卡和驱动的设备上运行
  2. 安装cuda,cudnn,其中cuda中需包含nvidia compute和nvidia system工具
  3. 安装python环境 conda env create -f environment.yml

具体应用

Sarcasm

需要从huggingface上下载bert-base-uncased的model.onnx、pytorch_model.bin和tf_model.h5三个文件,放入applications/Sarcasm/bert-base-uncased文价夹中

然后运行

bash ./scripts/ncu_metric.sh applications/Sarcasm/inference.py applications/Sarcasm/ncu.csv --option normal

bash ./scripts/nsys_metric.sh applications/Sarcasm/inference.py --options fusion

Avmnist

raw avmnist dataset下载数据集,然后解压缩到applications/Avmnist/ 目录下

其余同上

Medical-Segmentation

下载原始数据集dataset,然后修改applicaions/Medical-Segmentation/inference.py 中的 "src_path = " 为其路径。

其余同上

Medical-VQA

下载原始数据集 raw medica_vqa dataset,解压后修改 applications/Medical-VQA/config/idrid_regions/single/default_baseline.yaml 中的 path路径为对应路径。

其余同上

MUjoCo-Push

下载数据集 gentle_push_10.hdf5 , gentle_push_300.hdf5 , gentle_push_1000.hdf5, 修改datasets/gentle_push/data_loader.py 中的 145行 return _load_trajectories($PATH, **dataset_args)

其余同上

nis3366's People

Contributors

phoenix-zy avatar

Watchers

 avatar

Forkers

sfmoraa

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.