Skip to content

Commit b4d437c

Browse files
committed
install wandb
1 parent e0a879b commit b4d437c

File tree

1 file changed

+34
-3
lines changed

1 file changed

+34
-3
lines changed

examples/keras-cifar/cifar-gen.ipynb

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,30 @@
3636
"<a href=\"https://colab.research.google.com/github/lukas/ml-class/blob/master/examples/keras-cifar/cifar-gen.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
3737
]
3838
},
39+
{
40+
"cell_type": "code",
41+
"metadata": {
42+
"id": "ZV9W0nFdMMsg",
43+
"colab_type": "code",
44+
"colab": {}
45+
},
46+
"source": [
47+
"!pip install wandb"
48+
],
49+
"execution_count": 0,
50+
"outputs": []
51+
},
3952
{
4053
"cell_type": "code",
4154
"metadata": {
4255
"scrolled": true,
4356
"id": "nNi9QucGDZta",
4457
"colab_type": "code",
45-
"colab": {}
58+
"colab": {
59+
"base_uri": "https://localhost:8080/",
60+
"height": 373
61+
},
62+
"outputId": "e9e07fcd-0ee5-4049-dc39-790c5e31543c"
4663
},
4764
"source": [
4865
"from tensorflow.keras.callbacks import TensorBoard\n",
@@ -105,8 +122,22 @@
105122
" validation_data=(X_test, y_test),\n",
106123
" callbacks=[WandbCallback(data_type=\"image\", labels=class_names)])"
107124
],
108-
"execution_count": 0,
109-
"outputs": []
125+
"execution_count": 1,
126+
"outputs": [
127+
{
128+
"output_type": "error",
129+
"ename": "ModuleNotFoundError",
130+
"evalue": "ignored",
131+
"traceback": [
132+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
133+
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
134+
"\u001b[0;32m<ipython-input-1-56cab2fb008e>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mnumpy\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mnp\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 6\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mos\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 7\u001b[0;31m \u001b[0;32mimport\u001b[0m \u001b[0mwandb\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 8\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mwandb\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mkeras\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mWandbCallback\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 9\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mtensorflow\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mtf\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
135+
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'wandb'",
136+
"",
137+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0;32m\nNOTE: If your import is failing due to a missing package, you can\nmanually install dependencies using either !pip or !apt.\n\nTo view examples of installing some common dependencies, click the\n\"Open Examples\" button below.\n\u001b[0;31m---------------------------------------------------------------------------\u001b[0m\n"
138+
]
139+
}
140+
]
110141
}
111142
]
112143
}

0 commit comments

Comments
 (0)