nii-yamagishilab / project-CURRENNT-scripts

This repository contains the scripts to use CURRENNT
BSD 3-Clause "New" or "Revised" License
64 stars 17 forks source link

logAllBuffers not implemented for wavNetCore #5

Open Arafat4341 opened 4 years ago

Arafat4341 commented 4 years ago

Hello.

I am trying to test the pre-trained NSF model for waveform generation. I am running on CPU only.

I am get error in generating waveform.

Computing outputs for data fraction 1 ... arctic_a0110 FAILED in running CURENNT: logAllBuffers not implemented for wavNetCore

Can anyone tell what is wrong?

TonyWangX commented 4 years ago

Hi, sorry for the trouble.

Could you tell me the commit id of the project-CURRENNT-public on your machine?

The error was thrown because that commit of CURRENNT doesn't support a new memory-save generation mode for baseline NSF.

If you clone the latest https://github.com/nii-yamagishilab/project-CURRENNT-public, there should no problem.

I did a test on my machine after git cloning the latest master branch. Both CPU and GPU worked, and there was no error on wavNetCore.

By the way, generation on CPU will be much slower than using GPU. Also, for the first time running the toolkit, initialization of the model and CUDA will take some time. You will see the program pause at "Creating the neural network... Generating in GPU memory-save mode". After the initial run, the initialization will be faster.

Arafat4341 commented 4 years ago

@TonyWangX Hi, thanks for your response.

Sorry I cannot tell the commit id of project-CURRENNT-public but it's at-least a year old for sure. It was setup by someone else. I tried to work on that.

Will it be okay if I just git pull for project-CURRENNT-public ?

Arafat4341 commented 4 years ago

I did git pull to both project-CURRENNT-public and project-CURRENNT-script. Still getting the same error.

By the way, I am running it on a t2.micro ec2 instance (1 GB RAM). Is it a memory issue?

TonyWangX commented 4 years ago

There are multiple branches in the project-CURRENNT-public, and I am not sure whether the branch on your machine is the master or other experimental branches.

Could you simply go to the directory and check the git commit history by "git log" ?

Or, just simply re-create a new repository by git clone https://github.com/nii-yamagishilab/project-CURRENNT-public.git

I think the message "logAllBuffers not implemented for wavNetCore" was not due to the memory, it is simply due to the unfinished code at that time.

TonyWangX commented 4 years ago

By the way, the latest entry in git log should look like this:


commit 69ce115688b2686810a43cbb27d1daf699e2de15 Author: TonyWangX Date: Sun Mar 29 16:23:09 2020 +0900

1. For h-NSF, Fix the bug in new mem-save mode when one layer is used twice as the input to a skipadd layer; 2. Remove tmp_maxLength=10 in fast network initialization; 3. Fix the bug in filtering layer mode 1 (merge of two filters)
Arafat4341 commented 4 years ago

@TonyWangX Thanks for your response. The latest commit I can see is: ee55cac691fefcca5c3154c7ff694e7ac631226d With update: Update wavNetCore for mem-save mode in both b-NSF and WaveNet

I git pulled to the latest version. Still not working

TonyWangX commented 4 years ago

Hi Sorry for the silence. Could you see the commit history on Master branch here? https://github.com/nii-yamagishilab/project-CURRENNT-public/commits/master

I think ee55cac691fefcca5c3154c7ff694e7ac631226d is not the latest one.