Skip to content

Instantly share code, notes, and snippets.

View gautams3's full-sized avatar

Gautam Salhotra gautams3

View GitHub Profile
@gautams3
gautams3 / torch_tensor_ivalue.cpp
Created June 17, 2019 22:38
GTest for pytorch tensor and IValue
/**
compile and run this gtest to get the internal assertion failure
(I used `catkin build --make-args tests` inside my ROS package, you could any other tool)
**/
#include "gtest/gtest.h"
#include <ros/package.h>
#include <torch/script.h>
#include <vector>
@gautams3
gautams3 / atlanta_search_ref.json
Last active November 6, 2017 19:00
Directions from GT College of Computing to Home Depot (650 Ponce De Leon Pl NE, Atlanta, GA 30308). This was for a graduate course project in Artificial Intelligence, where we used bidirectional-A* for paths between two points and tri-directional UCS for three points
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gautams3
gautams3 / atlanta_search.json
Last active November 6, 2017 18:59
A* search on real data: Directions from Dept of Mech Engg, Georgia Tech, to 798 Drewry St NE, Atlanta GA. The orange nodes are the final path, the black nodes are the ones that were also explored in A*
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.