gist-ailab / SleePyCo

This is an official implementation for "SleePyCo: Automatic Sleep Scoring with Feature Pyramid and Contrastive Learning".
MIT License
35 stars 11 forks source link

Hello, I am running into an issue "AttributeError: module 'numpy' has no attribute 'int'." #3

Closed Brandoncheaa closed 4 months ago

Brandoncheaa commented 5 months ago

I have finished downloading the dataset and am now processing .edf into .npz.

Screenshot 2024-02-02 140038

Brandoncheaa commented 5 months ago

Also this issue in the picture is mainly for sleep-edf-2018. I'm not sure about the 2013 dataset, I am however curious I ran "python prepare_sleep-edf-2013.py" and didn't get any errors but when I went to the directory sleep-edf-2013->npz->Fpz-Cz->I was expecting to see the converted edf to npz files but I only saw info.some sort of file. Do you have any idea as to why that's the case as well?

Brandoncheaa commented 5 months ago

Nevermind, issue has been solved. I changed the version of numpy to 1.19.5 and it solved the issue.

SeongjuLee commented 4 months ago

Thank you for leaving comments. I will update the required version of numpy in README.md.