Coder Social home page Coder Social logo

Comments (5)

joram5 avatar joram5 commented on July 24, 2024 1

from s3prl.

andi611 avatar andi611 commented on July 24, 2024

The problem is caused by using the wrong data data/libri_fmllr_cmvn on the model mockingjay/MelMediumM9_libri.

To continue to use data/libri_fmllr_cmvn, you can simply download the models I've provided here, and everything should work fine.

from s3prl.

joram5 avatar joram5 commented on July 24, 2024

Hi Andi,

Thank you for your support. Your advice solves this problem.

Currently I am running the following command line (in case it will help other users):

python run_downstream.py --run=phone_linear --upstream=transformer --ckpt=../S3PRL/mockingjay/fmllrLarge960-T-libri/states-1000000.ckpt

I had a problem with torch and torchaudio versions. The requirement.txt asks for torch==1.3.0,
It seems that the current code base uses functions from a more advanced releases of torch,

I encountered the following fail when using torch==1.3.0:

import torch
print(torch.version)
1.3.0
import torchaudio
print(torchaudio.version)
0.3.1
.....
from transformer.nn_transformer import TRANSFORMER
from utility.preprocessor import OnlinePreprocessor
from torchaudio.functional import magphase, compute_deltas
...
ImportError: cannot import name 'compute_deltas'

After upgrade to torch 1.4.0 and torchaudio 0,4,0 this problem is solved and the training is running ok (just started).

Thank you for your great advice.

Regards
Joram

from s3prl.

andi611 avatar andi611 commented on July 24, 2024

Hi, thank you for your constructive feedback!
I've updated the requirement.txt according to your suggestion.

Hope you have a nice day!
Andy

from s3prl.

joram5 avatar joram5 commented on July 24, 2024

from s3prl.

Related Issues (20)

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.