Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reproducing SCPC? #2

Open
roger-tseng opened this issue Nov 22, 2022 · 3 comments
Open

reproducing SCPC? #2

roger-tseng opened this issue Nov 22, 2022 · 3 comments

Comments

@roger-tseng
Copy link

Hello! I would like to compare your method's phoneme segmentation results with SCPC, but wasn't sure about the specific arguments.
Could you share your training script for SCPC?

@janchorowski
Copy link
Member

@tiagoCuervo can you share the setup?

@tiagoCuervo
Copy link
Collaborator

Hi there! there was a config option missing to train SCPC. I just pushed a commit fixing that, and the instructions to run an SCPC training session are now in the README.

@Saurabhbhati
Copy link

Hello,

I followed the instructions for running SCPC. Below is the command used

python cpc/train.py --pathDB /path_datasets/LibriSpeech/train-clean-100 --file_extension '.flac' --pathCheckpoint ./scpc_test --normMode layerNorm --dropout --n_process_loader 1 --batchSizeGPU 32 --nPredicts 1 --limitNegsInBatch 8 --nEpoch 50 --nGPU 1 --schedulerRamp 10 --rnnMode none --arMode no_ar --negativeSamplingExt 1 --nPredictsSegment 1 --samplingType samesequence --linearOutput --normalizeCPCScore --multiLevel --segmentationMode cosineDissimilarity --rnnModeSegment none

However, I get the following error:

File "/export/hCPC/cpc/criterion/criterion.py", line 250, in forward
batchSize, seqSize, dimAR = cFeature.size()
AttributeError: 'list' object has no attribute 'size'

Could you please take a look at the error? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants