facebookresearch / deepmeg-recurrent-encoder

deepmeg recurrent encoder
Other
24 stars 6 forks source link

Data Extraction #1

Open violetrally opened 3 years ago

violetrally commented 3 years ago

Currently, I am attempting to recreate the results of the DRE in the published paper, however in following the instructions on GitHub I am still having some difficulties. I have installed all the requirements as well as the MOUS dataset, but upon attempting the data extraction step I have been receiving an error ‘DataFrame’ object has no attribute ‘subject’. Must I first convert the raw data using the ‘code’ folder? And if so, do you think you could give me a quick debriefing of such? Further, I am not sure if the path to the dataset is the path to the sourcecode folder or otherwise.

adefossez commented 3 years ago

Can you provide the full traceback you are getting, as well as the command you typed, and finally a listing of the directory you are passing to the extraction script to make sure this matches the requirements. Thanks!

violetrally commented 3 years ago
Hello Dr. Defossez, Thank you for getting back to me on the issue. In doing some of my own debugging, I have realized what I believe to be the issue is that the Python code is not transferable between Mac and Windows as Windows uses a different path syntax than Mac. By manually entering the correct path required for a Windows computer, I was able to get the code running however it has led me to further issues down the line. I am trying to alter all the code such that the paths automatically created are in a style compatible with Windows currently. I have attached an image, wherein the first line is the code given which returns null and the second line is what I used to allow the program to access one file in the dataset.  Best Regards, Violet Rally Sent from Mail for Windows 10 From: Alexandre DéfossezSent: June 25, 2021 6:56 AMTo: facebookresearch/deepmeg-recurrent-encoderCc: violetrally; AuthorSubject: Re: [facebookresearch/deepmeg-recurrent-encoder] Data Extraction (#1) Can you provide the full traceback you are getting, as well as the command you typed, and finally a listing of the directory you are passing to the extraction script to make sure this matches the requirements.Thanks!—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.  This email has been checked for viruses by Avast antivirus software. www.avast.com
adefossez commented 3 years ago

Hi @violetrally i am unable to see the image here and I dont think I received it as email neither. I think normally Python would do the conversion implicitly but maybe I am wrong.