Open
Description
I observed a memory leak during the newEpisode
call function:
dataset_file = "./tasks/R2R/data/R2R_train.json"
HEIGHT = 480
VFOV = np.radians(60)
sim = MatterSim.Simulator()
sim.setCameraResolution(WIDTH, HEIGHT)
sim.setDiscretizedViewingAngles(True)
sim.setCameraVFOV(VFOV)
sim.initialize()
with open(dataset_file) as fid:
data = json.load(fid)
for sample in tqdm(data):
scan_id = sample["scan"]
for viewpoint_id in sample["path"]:
sim.newEpisode([scan_id], [viewpoint_id], [0], [0])
My memory (16GB) is quickly getting full
I tested with a binary compiled with EGL or OSMesa
Metadata
Metadata
Assignees
Labels
No labels