facebookresearch / theseus

A library for differentiable nonlinear optimization
MIT License
1.78k stars 128 forks source link

question about 'Objective.error_squared_norm()' #620

Closed WeiXiCZ closed 11 months ago

WeiXiCZ commented 1 year ago

❓ Questions and Help

Hello, when I run the following code, it comes to the error: image What's wrong with this🥺

luisenp commented 1 year ago

Hello, this method was deprecated a few versions ago, and it's now replaced by objective.error_metric(), which by default returns the squared error norm.

Did you find this usage in one of our examples?

WeiXiCZ commented 1 year ago

oh I found it in examples! thanks a lot! your work is so wonderful, I'll study it carefully.

luisenp commented 1 year ago

Thanks for your kind words!

Could you send me a link to the example where you found this usage? It shouldn't be there, as this function doesn't exist anymore. Thanks!