-
Notifications
You must be signed in to change notification settings - Fork 2
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
How to download the pre-trained models from OSF #36
Comments
Hi @350941716, sorry for the late response on this - you can follow the instructions here (osfclient) to download the tool that will help you get these models from OSF. After installing |
Oh thanks for your help. 😳 |
Hi @LaylaQAQ, thanks for letting me know - I am sorry to hear about the TensorFlow issue. I want people including you to be able to use this package with newer tensorflow and deeplabcut versions and will work on updating MesoNet to accommodate these! |
1.20: Updated deeplabcut and tensorflow versions (#36)
Hi @bf777 , thanks for updating the supporting versions, now there is a stable problem throughout this and the previous version: after I press the "predict brain regions using landmarks" button, it always reports this error: ModuleNotFoundError: No module named 'keras.legacy_tf_layers'. I checked up the GPT and it say: the new version of keras don't support 'legacy_tf_layers' method any more. So may there is some way to solve it? |
Hi @LaylaQAQ , I have set the tensorflow and keras versions to 2.12.0 to attempt to address this issue in a newly pushed version #44. The "predict brain regions using landmarks" button offers a custom workflow that is less reliable (it is based on the checkboxes you select above it). If you can test one of the default pipelines on the right side of the GUI, especially 1 or 2, they should give you comparable results for the calcium image alignment. |
Hi @LaylaQAQ , which folder were you in when you ran the script |
Hi@bf777, here is another question that, in 'Read me' -> 'installation' -> '6. Run bash get_default_models.sh to download...', in step 5, I'm in the '/Mesonet' folder, but when I input 'bash get_default...' it errors: '/usr/bin/bash: get_default_models.sh: No such file or directory', so I 'cd mesonet' again. And this time in /Mesonet/mesonet path, it downloads a 'models' folder. But it seems not in the path you noted in readme. Is that right? Which 'mesonet' should the 'models' be in? Very thanks. |
@LaylaQAQ Yes, you should do it in the mesonet directory within the main MesoNet git repository folder, where the bash script is (check to see in which folder the script is contained). I will make sure this is clearer in the readme. |
I am closing this issue due to inactivity. |
Thanks for the code shared!
I have a question about the 6th step in the "Installation" block:
I'm a new to the linux, there are difficults for me to download files in linux language. May I download the same model straightly in the OSF?
The text was updated successfully, but these errors were encountered: