Error using affine2d.empty

3 次查看(过去 30 天)
Xiaochun Xu
Xiaochun Xu 2019-3-28
编辑: Ba Mo 2019-10-30
Hi there,
I repeatedly received this error message while running the imregtform function. I wonder what can I do to solve it? It seems like nothing to do with my input data. But totally the problem in affine2d.empty().
Error using affine2d.empty
Abstract classes cannot be instantiated. Class 'affine2d' inherits abstract methods or properties but does not implement them. See the list of methods and
properties that 'affine2d' must implement if you do not intend the class to be abstract.
Error in imregtform>parseInputs (line 255)
parser.addParamValue('InitialTransformation',affine2d.empty(),@checkInitialTransformation);
Best,
Clover
  6 个评论
Xiaochun Xu
Xiaochun Xu 2019-3-29
You saved me!!! Thank you!!!!

请先登录,再进行评论。

回答(1 个)

Ba Mo
Ba Mo 2019-10-30
编辑:Ba Mo 2019-10-30
I have had this problem for a couple of months now. i'm glad this was posted just 48 hours ago!
the same goes for the pReLu layer and the maeRegressionLayer in the deep-learning toolbox
I didnt post a question, because I feel the matlab deep learning toolbox is still developing.
for search-indexing, i will paste the text message of this error:
Abstract classes cannot be instantiated. Class 'maeRegressionLayer' inherits abstract methods or properties but does not implement them. Use meta.abstractDetails to see the list of methods and properties that 'maeRegressionLayer' must implement if you do not intend the class to be abstract.
Abstract classes cannot be instantiated. Class 'preluLayer' inherits abstract methods or properties but does not implement them. Use meta.abstractDetails to see the list of methods and properties that 'preluLayer' must implement if you do not intend the class to be abstract.

类别

Help CenterFile Exchange 中查找有关 Testing Frameworks 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by