Skip to content

KeyError when run evaluate #5

@yingjun-zhang

Description

@yingjun-zhang

Hello, amazing job, I trained on my own data and want to run an evaluate, but an error occurs when loading geocells:

lla_coords = torch.tensor(geo_df[['lng', 'lat']].values)
KeyError: "None of [Index(['lng', 'lat' ], dtype='object')] are in the [columns]"

I guess it is because the geocell generated by my run has only 6 columns: name, admin_1, country, size, num_polygons, geometry, I made my geocells.csv using dataset_creation/geocell/geocell_creation.py
So what might have gone wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions