-
Notifications
You must be signed in to change notification settings - Fork 63
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
BUG: <attributeERROR> 'NoneType' object has no attribute 'setPos' #156
Comments
Hi @limserenahansol are you trying to load the file " noopioidm20011 25-01-17 16-29-15_proc.npy"? If so, can you please share whether it has both motsvd and keypoints saved in the file by loading in a notebook (as described here: https://github.com/MouseLand/facemap/blob/main/docs/notebooks/load_visualize_keypoints.ipynb) |
Dear Atika
I used GUI facemap
The problem is 1) sometimes it made key points sometimes not ( I clicked keypoint button though)
Plus 2) also if I would like to apply for new fine tune pose model, this one should be saved in the same folder in the video?
3) I also tried to do batch process such as 4 videos all together but it seems facemap does not have that function yet except for the batch and integrated all files in the one file am I right?
Thanks a lot!
Best
Hansol
From: Atika Ibrahim Syeda ***@***.***>
Reply to: MouseLand/facemap ***@***.***>
Date: Wednesday, 22. January 2025 at 12:44
To: MouseLand/facemap ***@***.***>
Cc: "Lim, Hansol" ***@***.***>, Mention ***@***.***>
Subject: Re: [MouseLand/facemap] BUG: <attributeERROR> 'NoneType' object has no attribute 'setPos' (Issue #156)
Hi @limserenahansol<https://github.com/limserenahansol> are you trying to load the file " noopioidm20011 25-01-17 16-29-15_proc.npy"? If so, can you please share whether it has both motsvd and keypoints saved in the file by loading in a notebook (as described here: https://github.com/MouseLand/facemap/blob/main/docs/notebooks/load_visualize_keypoints.ipynb)
—
Reply to this email directly, view it on GitHub<#156 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AN2MN6Z6DVL3ITRQ2KAJQIL2L77MJAVCNFSM6AAAAABVPQRFVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBYGIZDMMJZGE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
That's the node, not the sd module, and there won't be that error. |
Version information:
facemap version: 1.0.7
platform: win32
python version: 3.8.20
torch version: 1.12.1
numpy version: 1.24.4
Describe the issue:
AttributeError: 'NoneType' object has no attribute 'setPos' in FaceMap
hi all,
i runed facemap and after refine keypoints and set MotSVD Rois
but and it has been saved in " noopioidm20011 25-01-17 16-29-15_proc.npy" and I tried to re-open this one to use different model. and now it showed this error, may I ask what I need to do ?
thanks for your help
more details below
File "C:\Users\hsollim\AppData\Local\anaconda3\envs\facemap\lib\site-packages\facemap\gui\gui.py", line 1120, in next_frame
self.update_svd_vtick()
File "C:\Users\hsollim\AppData\Local\anaconda3\envs\facemap\lib\site-packages\facemap\gui\gui.py", line 2033, in update_svd_vtick
self.svd_plot_vtick.setPos(self.cframe)
AttributeError: 'NoneType' object has no attribute 'setPos'
Traceback (most recent call last):
File "C:\Users\hsollim\AppData\Local\anaconda3\envs\facemap\lib\site-packages\facemap\gui\gui.py", line 884, in set_frame_changed
self.jump_to_frame()
File "C:\Users\hsollim\AppData\Local\anaconda3\envs\facemap\lib\site-packages\facemap\gui\gui.py", line 1085, in jump_to_frame
self.next_frame()
File "C:\Users\hsollim\AppData\Local\anaconda3\envs\facemap\lib\site-packages\facemap\gui\gui.py", line 1120, in next_frame
self.update_svd_vtick()
File "C:\Users\hsollim\AppData\Local\anaconda3\envs\facemap\lib\site-packages\facemap\gui\gui.py", line 2033, in update_svd_vtick
self.svd_plot_vtick.setPos(self.cframe)
Error message:
The text was updated successfully, but these errors were encountered: