You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Function 'nanmean' (input argument of type 'single') is undefined. #4
I guess it might be caused by the version of MATLAB. You could try to change all nanmean function with mean following this doc, such as pose(1,:) = mean(XYZPOS.XYZPOS.head(last_k:k,:),1,'omitnan');
Let me know whether it could help you with this error.
Thank you for your prompt response.
I made the edits as suggested and it worked fine.
I have sent a pull request with the suggested changes and a fix for an error that the models file was not being read when running python evaluate/evaluate.py to evaluate it.
I would appreciate it if you could merge them if you like.
Activity
bestchen97 commentedon Oct 31, 2022
Hi, thank you for the interest.
I guess it might be caused by the version of MATLAB. You could try to change all
nanmeanfunction withmeanfollowing this doc, such aspose(1,:) = mean(XYZPOS.XYZPOS.head(last_k:k,:),1,'omitnan');Let me know whether it could help you with this error.
takeyamayuki commentedon Nov 1, 2022
Thank you for your prompt response.
I made the edits as suggested and it worked fine.
I have sent a pull request with the suggested changes and a fix for an error that the
modelsfile was not being read when runningpython evaluate/evaluate.pyto evaluate it.I would appreciate it if you could merge them if you like.