Skip to content

How get the value from model dataset, such as norm_prediction?  #70

Open
@chufall

Description

@chufall

Hi.
The code has used the Xarray.dataset to store the intermediate varaiables .
Such as , norm_predictions which type is Xarray.dataset composed of several Xarray.DataArray 。

But how get the value from it? When I try to convert it to Numpy.narray with "norm_prediction.values()" ,
it gave me the following error:
{TracerArrayConversionError}The numpy.ndarray conversion method array() was called on traced array with shape float32[1,1,721,1440].

So how fix it?
Thanks a lot!
qc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions