tsy935 / eeg-gnn-ssl

156 stars 44 forks source link

while training an error occured: AttributeError: 'WindowsPath' object has no attribute 'rstrip' #8

Open PhoebeLiu0109 opened 1 year ago

PhoebeLiu0109 commented 1 year ago

JNR%V( MQ{28DB6XZ~O1P0Q

AashishKhilnani commented 1 week ago

I am facing the same issue! Did you find the solution?! @PhoebeLiu0109 @tsy935

PhoebeLiu0109 commented 1 week ago

I am facing the same issue! Did you find the solution?! @PhoebeLiu0109 @tsy935

Hi, I’ve solved that! And I’m happy to assist.

It seems that you are running on a windows-based machine. Try to revise the paths in the code (in linux it is something like '/home/xx/xx/', while in windows it is like 'C:\xx\xx\'), change all of them, then it will be solved.

AashishKhilnani commented 1 week ago

Thanks for the reply. I am working on Microsoft Windows 11. It still didn't work. I wrote this:

image

And got following error:

image

Can you please assist me? I have been stuck on this for a long time.

PhoebeLiu0109 commented 1 week ago

as I told you yesterday, you should revise the code, not in the terminal commands.