Back to DrivenData | Blog

Planetary Computer - benchmark model training fails

Hi there,

I’m using the Microsoft Planetary computer and testing out the benchmark model. I am using the pangeo environment supplied by the environment.yml file.

Unfortunately I get the following error when running the code block:

# Fit the model
trainer.fit(model=cloud_model)
AttributeError: 'functools.partial' object has no attribute '__name__'

Does anyone know how to fix this? I tried to play around with the pandas installation but to no avail.

I’m getting the same error when attempting to do this locally as well…

pip install --upgrade pandas==1.2.4 in the notebook solves my problem. Let me know if you encounter this as well!