From 8e5d7dbfe49d194b7d0b616307663e9a88fbcd88 Mon Sep 17 00:00:00 2001
From: natanielruiz <nataniel777@hotmail.com>
Date: 星期五, 15 九月 2017 06:04:49 +0800
Subject: [PATCH] Training AFLW

---
 practice/create_filtered_datasets.ipynb |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/practice/create_filtered_datasets.ipynb b/practice/create_filtered_datasets.ipynb
index a6210e9..7801b4a 100644
--- a/practice/create_filtered_datasets.ipynb
+++ b/practice/create_filtered_datasets.ipynb
@@ -2,7 +2,7 @@
  "cells": [
   {
    "cell_type": "code",
-   "execution_count": 6,
+   "execution_count": 4,
    "metadata": {
     "collapsed": true
    },
@@ -96,7 +96,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 19,
+   "execution_count": 9,
    "metadata": {
     "collapsed": true
    },
@@ -108,7 +108,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 20,
+   "execution_count": 10,
    "metadata": {
     "collapsed": false
    },
@@ -117,7 +117,7 @@
      "name": "stdout",
      "output_type": "stream",
      "text": [
-      "289\n"
+      "250\n"
      ]
     }
    ],
@@ -136,7 +136,7 @@
     "    yaw = float(annot[1]) * 180 / np.pi\n",
     "    pitch = float(annot[2]) * 180 / np.pi\n",
     "    roll = float(annot[3]) * 180 / np.pi\n",
-    "    if abs(pitch) > 98 or abs(yaw) > 98 or abs(roll) > 98:\n",
+    "    if abs(pitch) > 98.99 or abs(yaw) > 98.99 or abs(roll) > 98.99:\n",
     "        counter += 1\n",
     "        continue\n",
     "    out.write(original_line)\n",

--
Gitblit v1.8.0