A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nii-yamagishilab/project-NN-Pytorch-scripts below:

GitHub - nii-yamagishilab/project-NN-Pytorch-scripts: see README

This is a set of Python / Pytorch scripts and tools for various speech-processing projects.

It is maintained by Xin Wang since 2021.

XW is a Pytorch newbie. Please feel free to give suggestions and feedback.

git clone --depth 1 https://github.com/nii-yamagishilab/project-NN-Pytorch-scripts.git

This repository contains a few projects and tutorials.

See project/README.md for an overview.

See tutorials/README.md for an overview.

Projects above use either one of the two environments:

For most of the projects, install env.yml is sufficient

# create environment
conda env create -f env.yml

# load environment (whose name is pytorch-1.7)
conda activate pytorch-1.7

For projects using SSL models, use ./env-fs-install.sh to install the dependency.

# make sure other conda envs are not loaded
bash env-fs-install.sh

# load
conda activate fairseq-pip2

Most of the projects include a simple demonstration script. Take project/01-nsf/cyc-noise-nsf as an example:

# cd into one project
cd project/01-nsf/cyc-noise-nsf-4

# add PYTHONPATH and activate conda environment
source ../../../env.sh 

# run the script
bash 00_demo.sh

The printed messages will show what is happening.

Detailed instruction is in README of each project.

Name Function ./core_scripts scripts (Numpy or Pytorch code) to manage the training process, data io, etc. ./core_modules finalized pytorch modules ./sandbox new functions and modules to be test ./project project directories, and each folder correspond to one model for one dataset ./project/*/*/main.py script to load data and run training and inference ./project/*/*/model.py model definition based on Pytorch APIs ./project/*/*/config.py configurations for training/val/test set data ./project/*/*/*.sh scripts to wrap the python codes

See more instructions on the design and conventions of this repository misc/DESIGN.md

By Xin Wang


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4