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

Segmentation fault: 11 #1

Open
chukalexander opened this issue Dec 5, 2022 · 3 comments
Open

Segmentation fault: 11 #1

chukalexander opened this issue Dec 5, 2022 · 3 comments

Comments

@chukalexander
Copy link

Dear author,

I am trying to run the code and have encountered the follow issue

The following command works:

$ python test.py --test_dir ../data/msmd/msmd_test --test_piece Anonymous__lanative__lanative_synth --plot --gt_only

but running the trained model gives "Segmentation fault:11"

$ python test.py --param_path ../trained_models/cyolo/best_model.pt --test_dir ../data/msmd/msmd_test --test_piece Anonymous__lanative__lanative_synth --page 0

Message as follows and model does not run:

Conditioning: ContextConditioning | Parameters: {'n_lstm_layers': 1, 'activation': 'nn.ELU', 'zdim': 128, 'normalize_input': True}
Using input normalization!
Segmentation fault: 11

Please advise.

@fhenkel
Copy link
Member

fhenkel commented Dec 5, 2022

Hi!
Could you please provide me with some more information regarding the system you are running this on.

@chukalexander
Copy link
Author

chukalexander commented Dec 6, 2022

Thank you for reaching out!

macOS 10.14.6
Python 3.9.13

@fhenkel
Copy link
Member

fhenkel commented Dec 6, 2022

Did you install the conda environment? I specified python 3.7 in there.
With the provided environment file I'm able to run python test.py --test_dir ../data/msmd/msmd_test --test_piece Anonymous__lanative__lanative_synth --plot --gt_only on my Mac without getting a segmentation fault.

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

2 participants