Skip to content
Snippets Groups Projects
Commit 7b765c9a authored by Spencer Delcore's avatar Spencer Delcore
Browse files

updated readme and removed hardcoded path

parent 82a595a1
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,10 @@ touch __init__.py
echo -e "import sys\nfrom os.path import dirname, join\nsys.path.insert(0, join(dirname(__file__), '.'))" >> __init__.py;
cd -
# replace $KITTI_ROOT with path to kitti
# replace * with the script you want to run
KITTI_ROOT=$KITTI_ROOT ./scripts/run_*.sh
```
......
......@@ -128,7 +128,7 @@ if __name__ == "__main__":
if args.image_path is not None:
dataset = ImageDataset(args.image_path)
elif args.dataset == "KITTI":
dataset = ImageFolderDataset("/root/kitti/training/image_2/") # TODO dont hard code
dataset = ImageFolderDataset("$KITTI_ROOT/training/image_2/") # TODO dont hard code
else:
dataset = Dataset(args.dataset, args.set, args.no_hard)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment