Remove Distance Caching for RoboTHOR and iTHOR Navigation Tasks and Rely Solely on the Built in Navmeshes
klemenkotar opened this issue · 2 comments
Problem
Currently AllenAct is using pre-computed distance caches as the default way of finding the distance between any point in the scene and the target. It has been shown that these caches offer little in the way of FPS improvements and makes the model train slower (in terms of number of steps). They are also tied to a specific release of ai2thor and awkward to use.
Desired solution
iTHOR has now built in navmeshes for local path finding, and RoboTHOR has had this feature for some time. We can now use these native Unity methods to efficiently find a good distance to the target that can be used in the reward function and the SPL calculation.
What This Requires
- Updating the task sampler and task code for all the navigation tasks
- Removing the distance caches from the online dataset files
- Re-Generating the PointNav and ObjectNav datasets for iTHOR and RoboTHOR using the new distance + path finding function
@klemenkotar from my understanding this is done, please reopen if not.
@Lucaweihs Yes al this code is in master now. There is a little bit of clean up left to do (we have some unused code inside cache_utils, but we can do that in a larger cleanup commit perhaps.