From 1ddaaf685a3c5febca32305fc588f982b5e4cdaa Mon Sep 17 00:00:00 2001 From: natanielruiz <nataniel777@hotmail.com> Date: 星期四, 28 九月 2017 06:21:15 +0800 Subject: [PATCH] Final code before submission --- practice/create_filtered_datasets.ipynb | 22 +++++++++++++++------- 1 files changed, 15 insertions(+), 7 deletions(-) diff --git a/practice/create_filtered_datasets.ipynb b/practice/create_filtered_datasets.ipynb index 7801b4a..bd890b5 100644 --- a/practice/create_filtered_datasets.ipynb +++ b/practice/create_filtered_datasets.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 4, + "execution_count": 3, "metadata": { "collapsed": true }, @@ -58,9 +58,9 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "metadata": { - "collapsed": true + "collapsed": false }, "outputs": [], "source": [ @@ -70,15 +70,23 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "metadata": { - "collapsed": true + "collapsed": false }, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "31\n" + ] + } + ], "source": [ "# Create filename.txt without poses more than -100, 100 degrees.\n", "with open(os.path.join(AFLW, 'list_filenames.txt')) as f:\n", - " with open(os.path.join(AFLW, 'filename_list_filtered.txt'), 'wb') as wb:\n", + " with open(os.path.join(AFLW, 'filename_list_filtered_test.txt'), 'wb') as wb:\n", " counter = 0\n", " for line in f:\n", " original_line = line\n", -- Gitblit v1.8.0