Git Product home page Git Product logo

Comments (17)

Aurora11111 avatar Aurora11111 commented on June 15, 2024

@gurul hello ,I am run the project ues my own datasets! have you meet the issue below
y

from pytorch_speaker_verification.

LoveGalaxy avatar LoveGalaxy commented on June 15, 2024

@gurul hello ,I am run the project ues my own datasets! have you meet the issue below
y
**人我就说中文了哈,方便表达一点。
没遇到过,提示的是 utterance 的indice越界了,你看看 utterance 的维度对不对,对比一下作者用的默认TIMIT 数据输出的 utterance 的维度是多少

from pytorch_speaker_verification.

Aurora11111 avatar Aurora11111 commented on June 15, 2024

@gurul 我没有下载TIMIT数据集,那个太大了.你用的TIMIT数据集是这样的呢,可以截个图吗,我是用的aishell生成的npy,是这样的:
y
test_tisv文件夹有几十个npy,train_tisv文件夹有360个npy的样子

from pytorch_speaker_verification.

HarryVolek avatar HarryVolek commented on June 15, 2024

The config defaults to using your GPU. If you want to use your cpu, change the following line in the config.yaml:

device: "cuda"

If you still run out of memory, try reducing the batch size.

from pytorch_speaker_verification.

LoveGalaxy avatar LoveGalaxy commented on June 15, 2024

@HarryVolek
Thank you for your reply!
I have changed this config to
device: 'CPU'
And I try to used only one sample in one batch, it also get a OOM error. Could you tell me what operating system do you use? My friend try to run this code on Win 7 do not meet this problem.
And Could you tell me Which GPU you are used to train?

from pytorch_speaker_verification.

LoveGalaxy avatar LoveGalaxy commented on June 15, 2024

@Aurora11111
不是这个意思老哥
我指的是utterance这个数组你看下你的shape的维度是不是有三维,看报的错误估计和你的utterance维度有关系。npz个数和这个没关系。是npz里面的数据的维度的问题。
然后我咨询一下,TIMIT这个库很大吗,我为啥只下了400多M,如果你找到的比这个多,能分享下你找到的连接吗,我现在需要再找点数据

from pytorch_speaker_verification.

Aurora11111 avatar Aurora11111 commented on June 15, 2024

@gurul 我下载下来是个种子文件.torrent格式的,确实是400M,你是用的这个吗,怎么打开的,打开还是只有400M吗.
我的npz里的数据维度确实维度比较少
http://academictorrents.com/details/34e2b78745138186976cbc27939b1b34d18bd5b3

from pytorch_speaker_verification.

LoveGalaxy avatar LoveGalaxy commented on June 15, 2024

@Aurora11111
TIMIT的话,按下面这个目录放到项目的根目录,前面几层的文件夹删掉
'./TIMIT////.wav'
在README里有介绍
你可以看下作者处理音频的代码,处理TIMIT的和处理你那个数据集的有啥不同

from pytorch_speaker_verification.

Aurora11111 avatar Aurora11111 commented on June 15, 2024

@gurul 恩,我用百度网盘打开了,但是我这个系统无法下载,我 的数据集是aishell,我还是想想办法怎么用这个TIMIT吧

from pytorch_speaker_verification.

HarryVolek avatar HarryVolek commented on June 15, 2024

@gurul I run Ubuntu. The model shouldn't be difficult to train, people have trained comparable models with CPUs. Either way, I believe the issue is with your hardware and not the code itself, so I am closing.

from pytorch_speaker_verification.

HarryVolek avatar HarryVolek commented on June 15, 2024

When I wrote the code I was using a GTX 970 to train.

from pytorch_speaker_verification.

Aurora11111 avatar Aurora11111 commented on June 15, 2024

yeah ! after I change to TIMIT datasets it run succesfully. thank you! @gurul

from pytorch_speaker_verification.

LoveGalaxy avatar LoveGalaxy commented on June 15, 2024

When I wrote the code I was using a GTX 970 to train.

Thank you very much! And thank you for opening the source code! It helps me a lot.

from pytorch_speaker_verification.

LoveGalaxy avatar LoveGalaxy commented on June 15, 2024

yeah ! after I change to TIMIT datasets it run succesfully. thank you! @gurul

Welcome

from pytorch_speaker_verification.

trunglebka avatar trunglebka commented on June 15, 2024

I have trained on default config (exept with 'device: "cpu"') and encountered OOM error.
image

My dependencies:

  • PyTorch 1.0.1.post2
  • python 3.7 with anaconda
  • numpy 1.15.4
  • librosa 0.6.3

I don't know why it was happen.
Sorry for my bad English.

from pytorch_speaker_verification.

HarryVolek avatar HarryVolek commented on June 15, 2024

07f996a

Try again with the latest commit @trunglebka .

from pytorch_speaker_verification.

trunglebka avatar trunglebka commented on June 15, 2024

Sorry for reply lately
I have updated your code to the lastest commit but OOV still there :(
image

from pytorch_speaker_verification.

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.