Skip to content

Unknown layer: SpatialDropout2D #1453

@ghost

Description

The following error appears to me when trying to import a model in tensorflow.js

Uncaught (in promise) Error: Unknown layer: SpatialDropout2D. This may be due to one of the following reasons:

  1. The layer is defined in Python, in which case it needs to be ported to TensorFlow.js or your JavaScript code.
  2. The custom layer is defined in JavaScript, but is not registered properly with tf.serialization.registerClass().

It seems like SpatialDropout isn't implemented yet. Is anyone working on it?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions