Jorge
Jorge

Reputation: 119

Sagemaker Notebook instance error AttributeError: 'MaterializedLayer' object has no attribute 'pack_annotations'

I have a dask cluster active

from dask.distributed import Client, progress 

client = Client()
client

When I try to encode my data I get the error:

AttributeError: 'MaterializedLayer' object has no attribute 'pack_annotations'

I encoded the data with the cluster closed and then tried to fit the model and I get the same error.

Upvotes: 1

Views: 135

Answers (1)

Jorge
Jorge

Reputation: 119

Solution: Sagemaker Kernel most be python V3.8 which is compatible with dask distributed, as soon as I update the kernel to python 3.8. Works just fine.

Upvotes: 1

Related Questions