Comments (13)
Thank you for your question. Could you please let me know the shape of the input feature you feed into the model? I am not sure if you preprocess
the raw audio properly.
from air-asvspoof.
In this repo, we provided the MATLAB code for preprocessing. If you prefer to use Python, please refer to preprocess.py
in our new repo for the recent work https://github.com/yzyouzhang/Empirical-Channel-CM. Thanks.
from air-asvspoof.
torch.Size([60, 750])
Please find my notebook file what i am doing.
How can i connect with you? email id?
notebook_air_2.zip
from air-asvspoof.
@yzyouzhang Also i am not able to train the model from scratch , it give me error:
Batch size = 2
GPU : RTX 2060 6 GB
RuntimeError: CUDA out of memory. Tried to allocate 60.00 MiB (GPU 0; 6.00 GiB total capacity; 4.49 GiB already allocated; 0 bytes free; 4.52 GiB reserved in total by PyTorch)
from air-asvspoof.
torch.Size([60, 750])
Please find my notebook file what i am doing.
How can i connect with you? email id? notebook_air_2.zip
The feature size should be [B, 1, 60, 750].
I checked your code. You have ResNet(1, 16)
when you set up the model. It should be ResNet(3, 256)
if you want to use my pretrained model.
from air-asvspoof.
@yzyouzhang Also i am not able to train the model from scratch , it give me error: Batch size = 2 GPU : RTX 2060 6 GB
RuntimeError: CUDA out of memory. Tried to allocate 60.00 MiB (GPU 0; 6.00 GiB total capacity; 4.49 GiB already allocated; 0 bytes free; 4.52 GiB reserved in total by PyTorch)
In my case, I use RTX 1080 Ti 11GB. I can load with batch size 64. So I think batch size 2 should be totally OK for your device. Have you made sure there are no other processes occupying the GPU memory?
from air-asvspoof.
@yzyouzhang how can i convert my feature size (60,750) to [B, 1, 60, 750].
what is B and 1 means?
from air-asvspoof.
@yzyouzhang i checked it again , no other process occupying my gpu memory.
could you please share your id or zoom id for further contact to solve this issue?
from air-asvspoof.
@yzyouzhang what threshold score you have set for real and fake samples?
score = F.softmax(lfcc_outputs)[:, 0]
score
from air-asvspoof.
@yzyouzhang how can i convert my feature size (60,750) to [B, 1, 60, 750].
what is B and 1 means?
B is the batch size, 1 is the number of channels for CNN.
from air-asvspoof.
@yzyouzhang what threshold score you have set for real and fake samples? score = F.softmax(lfcc_outputs)[:, 0] score
We do not need a threshold to calculate EER. If you want to classify samples into two classes, you can choose a value between the r1 and r2 of the OCSoftmax.
from air-asvspoof.
@yzyouzhang i checked it again , no other process occupying my gpu memory.
could you please share your id or zoom id for further contact to solve this issue?
Please contact [email protected] for further zoom discussions. Thanks.
from air-asvspoof.
ok thanks :)
from air-asvspoof.
Related Issues (20)
- train.py 170行 理解下来是一个addloss ,是否应该是+=? HOT 2
- 未定义函数或变量 'deltas' HOT 2
- OCLoss and final Linear Layer HOT 4
- Hi, what is the meaning of “class SelfAttention(nn.Module)” in resnet.py ?! HOT 2
- Dear HOT 11
- MATLAB process_LA_data error HOT 1
- 请问算法对中文检测可以达到较高准确率吗? HOT 1
- 请问 CM score histogram 这个图的纵坐标代表什么呢?样本所占比例吗? HOT 1
- 老哥,你好! HOT 4
- _pickle.UnpicklingError: A load persistent id instruction was encountered, but no persistent_load function was specified. HOT 3
- 单卡改多卡 HOT 5
- how to do Feature embedding visualization? HOT 1
- Minor code errors in process_LA_data.m HOT 4
- from torch._C import * Import Error HOT 22
- continue_training HOT 1
- 750帧的训练? HOT 4
- score 大于1 HOT 5
- 对比实验部分的的resnet+ocsvm,resnet是预训练好freeze的么,还是可以参与训练的? HOT 3
- Loading Resnet-18 in GPU memory is taking a long time. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from air-asvspoof.