CommonRoad / crgeo

Graph neural networks for autonomous driving
https://commonroad.in.tum.de/tools/commonroad-geometric
BSD 3-Clause "New" or "Revised" License
37 stars 3 forks source link

No module named `crgeo` #4

Closed muety closed 1 year ago

muety commented 1 year ago

I tried to install CommonRoad Geometric via pip as stated on the website (pip install crgeo), but am getting the following when trying to load a dataset.

import torch
torch.load('data-0032-0000.pt')

Error:

ModuleNotFoundError: No module named 'commonroad_geometric.dataset'

I also tried to clone the repo and then run a pip install .. Apparently the package is named commonroad_geometric instead of crgeo then, but I'm still getting an error.

from commonroad_geometric.dataset.commonroad_dataset import CommonRoadDataset

Error:

ModuleNotFoundError: No module named 'commonroad_geometric.dataset'

Also, the module seems to be empty:

dir(commonroad_geometric)

['__builtins__',
 '__cached__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__path__',
 '__spec__']
EiriniKot commented 1 year ago

Hey! Unfortunately, we were facing some issues with setup, but in the current release (version 0.1.2), import is fixed!