Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

load_graph() returns empty graph #7

@catalina17

Description

@catalina17

I used the load_graph() method from House3DUtils to load a previously computed graph (the file path was valid), but self.graph was empty after the following lines:

EmbodiedQA/utils/house3d.py

Lines 272 to 273 in 9113156

self.graph = Graph()
self.graph.load(path)

Not sure if anyone else has had this issue; in any case, the following code worked for me:

import pickle
g = pickle.load(open(path, 'rb'))
from dijkstar import Graph
self.graph = Graph(g)

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