Fix Errors & Parameterize File Paths

- Update gitignore to exclude vscode files
- Parameterize hardcoded file paths
- Comment out references to pgf image and latex dependency
- Allow pickle in numpy.load
- Add TODO comments for where settings need to be changed
- Explicitly set visualization to False
- Change pytorch device from cuda to cpu
This commit is contained in:
Sravan Balaji
2020-04-30 19:58:05 -04:00
parent d3d6d1cd82
commit 93ac62b154
4 changed files with 65 additions and 52 deletions

View File

@@ -19,39 +19,42 @@ T_w_o[:3, :3] = [[0, 1, 0], [1, 0, 0], [0, 0, -1]]
T_o_w = util.invert_ht(T_w_o)
eulerdef = 'sxyz'
# TODO: Modify these for your workspace
csvdelimiter = ','
datadir = '/mnt/c/Users/SabrinaB/Desktop/nclt'
resultdir = 'nclt'
datadir = '/app/dataset/data/'
resultdir = '/app/dataset/nclt'
snapshotfile = 'snapshot.npz'
sessionfile = 'sessiondata.npz'
# TODO: Comment out the sessions you are not using
sessions = [
#'2012-01-08',
'2012-01-08',
'2012-01-15',
#'2012-01-22',
#'2012-02-02',
#'2012-02-04',
#'2012-02-05',
#'2012-02-12',
#'2012-02-18',
#'2012-02-19',
#'2012-03-17',
#'2012-03-25',
#'2012-03-31',
#'2012-04-29',
#'2012-05-11',
#'2012-05-26',
#'2012-06-15',
#'2012-08-04',
#'2012-08-20',
#'2012-09-28',
#'2012-10-28',
#'2012-11-04',
#'2012-11-16',
#'2012-11-17',
#'2012-12-01',
#'2013-01-10',
#'2013-02-23',
'2013-04-05']
'2012-01-22',
'2012-02-02',
'2012-02-04',
'2012-02-05',
'2012-02-12',
'2012-02-18',
'2012-02-19',
'2012-03-17',
'2012-03-25',
'2012-03-31',
'2012-04-29',
'2012-05-11',
'2012-05-26',
'2012-06-15',
'2012-08-04',
'2012-08-20',
'2012-09-28',
'2012-10-28',
'2012-11-04',
'2012-11-16',
'2012-11-17',
'2012-12-01',
'2013-01-10',
'2013-02-23',
'2013-04-05'
]
lat0 = np.radians(42.293227)