"...git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "f0e332bda92da08b46e1a599e952d3153492a5d1"
Commit e06cea86 authored by Mark Daoust's avatar Mark Daoust
Browse files

Remove string activations

parent a95142bf
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
"colab": { "colab": {
"name": "basic-text-classification.ipynb", "name": "basic-text-classification.ipynb",
"version": "0.3.2", "version": "0.3.2",
"views": {},
"default_view": {},
"provenance": [], "provenance": [],
"private_outputs": true, "private_outputs": true,
"collapsed_sections": [], "collapsed_sections": [],
...@@ -32,13 +30,7 @@ ...@@ -32,13 +30,7 @@
"metadata": { "metadata": {
"id": "ioaprt5q5US7", "id": "ioaprt5q5US7",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
},
"cellView": "form"
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -61,13 +53,7 @@ ...@@ -61,13 +53,7 @@
"metadata": { "metadata": {
"id": "yCl0eTNH5RS3", "id": "yCl0eTNH5RS3",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
},
"cellView": "form"
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -139,12 +125,7 @@ ...@@ -139,12 +125,7 @@
"metadata": { "metadata": {
"id": "2ew7HTbPpCJH", "id": "2ew7HTbPpCJH",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -176,12 +157,7 @@ ...@@ -176,12 +157,7 @@
"metadata": { "metadata": {
"id": "zXXx5Oc3pOmN", "id": "zXXx5Oc3pOmN",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -218,12 +194,7 @@ ...@@ -218,12 +194,7 @@
"metadata": { "metadata": {
"id": "y8qCnve_-lkO", "id": "y8qCnve_-lkO",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -246,12 +217,7 @@ ...@@ -246,12 +217,7 @@
"metadata": { "metadata": {
"id": "QtTS4kpEpjbi", "id": "QtTS4kpEpjbi",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -274,12 +240,7 @@ ...@@ -274,12 +240,7 @@
"metadata": { "metadata": {
"id": "X-6Ii9Pfx6Nr", "id": "X-6Ii9Pfx6Nr",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -304,12 +265,7 @@ ...@@ -304,12 +265,7 @@
"metadata": { "metadata": {
"id": "tr5s_1alpzop", "id": "tr5s_1alpzop",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -345,12 +301,7 @@ ...@@ -345,12 +301,7 @@
"metadata": { "metadata": {
"id": "s_OqxmH6-lkn", "id": "s_OqxmH6-lkn",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -383,12 +334,7 @@ ...@@ -383,12 +334,7 @@
"metadata": { "metadata": {
"id": "2jQv-omsHurp", "id": "2jQv-omsHurp",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -419,12 +365,7 @@ ...@@ -419,12 +365,7 @@
"metadata": { "metadata": {
"id": "USSSBnkE-lky", "id": "USSSBnkE-lky",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -447,12 +388,7 @@ ...@@ -447,12 +388,7 @@
"metadata": { "metadata": {
"id": "TG8X9cqi-lk9", "id": "TG8X9cqi-lk9",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -482,12 +418,7 @@ ...@@ -482,12 +418,7 @@
"metadata": { "metadata": {
"id": "xpKOoWgu-llD", "id": "xpKOoWgu-llD",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -497,8 +428,8 @@ ...@@ -497,8 +428,8 @@
"model = keras.Sequential()\n", "model = keras.Sequential()\n",
"model.add(keras.layers.Embedding(vocab_size, 16))\n", "model.add(keras.layers.Embedding(vocab_size, 16))\n",
"model.add(keras.layers.GlobalAveragePooling1D())\n", "model.add(keras.layers.GlobalAveragePooling1D())\n",
"model.add(keras.layers.Dense(16, activation='relu'))\n", "model.add(keras.layers.Dense(16, activation=tf.nn.relu))\n",
"model.add(keras.layers.Dense(1, activation='sigmoid'))\n", "model.add(keras.layers.Dense(1, activation=tf.nn.sigmoid))\n",
"\n", "\n",
"model.summary()" "model.summary()"
], ],
...@@ -556,16 +487,11 @@ ...@@ -556,16 +487,11 @@
"metadata": { "metadata": {
"id": "Mr0GP-cQ-llN", "id": "Mr0GP-cQ-llN",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"model.compile(optimizer='adam',\n", "model.compile(optimizer=tf.train.AdamOptimizer(),\n",
" loss='binary_crossentropy',\n", " loss='binary_crossentropy',\n",
" metrics=['accuracy'])" " metrics=['accuracy'])"
], ],
...@@ -588,12 +514,7 @@ ...@@ -588,12 +514,7 @@
"metadata": { "metadata": {
"id": "-NpcXY9--llS", "id": "-NpcXY9--llS",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -622,12 +543,7 @@ ...@@ -622,12 +543,7 @@
"metadata": { "metadata": {
"id": "tXSGrjWZ-llW", "id": "tXSGrjWZ-llW",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -657,12 +573,7 @@ ...@@ -657,12 +573,7 @@
"metadata": { "metadata": {
"id": "zOMKywn4zReN", "id": "zOMKywn4zReN",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -699,12 +610,7 @@ ...@@ -699,12 +610,7 @@
"metadata": { "metadata": {
"id": "VcvSXvhp-llb", "id": "VcvSXvhp-llb",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -728,12 +634,7 @@ ...@@ -728,12 +634,7 @@
"metadata": { "metadata": {
"id": "nGoYf2Js-lle", "id": "nGoYf2Js-lle",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
...@@ -764,12 +665,7 @@ ...@@ -764,12 +665,7 @@
"metadata": { "metadata": {
"id": "6hXx-xOv-llh", "id": "6hXx-xOv-llh",
"colab_type": "code", "colab_type": "code",
"colab": { "colab": {}
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment