diff --git a/Dockerfile b/Dockerfile index ef604f0cf969c2702024405ad861e4df79a28c19..16abce0406689c4e8ef9d98392ad8c251589053d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ COPY requirements.txt . RUN pip install -r requirements.txt RUN rm requirements.txt RUN apt update; apt install nano +RUN pip install jupyter # Note that we expect the cloned finn directory on the host to be # mounted on /workspace/finn -- see run-docker.sh for an example diff --git a/notebooks/Untitled.ipynb b/notebooks/Untitled.ipynb new file mode 100644 index 0000000000000000000000000000000000000000..4820662ddffcf5767612951f40b6254e72da9382 --- /dev/null +++ b/notebooks/Untitled.ipynb @@ -0,0 +1,59 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "from finn.core.datatype import DataType" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "<enum 'DataType'>" + ] + }, + "execution_count": 2, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "DataType" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.6.8" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/run-docker.sh b/run-docker.sh index 7a0730a27ae44e18226c683f8a3dbbc260d0fe74..a5241ea0ccef6659fdb39a46a9f504d5c783622a 100755 --- a/run-docker.sh +++ b/run-docker.sh @@ -57,4 +57,5 @@ docker run --rm --name finn_dev -it \ -v $SCRIPTPATH/cnpy:/workspace/cnpy \ -v $SCRIPTPATH/finn-hlslib:/workspace/finn-hlslib \ -v $VIVADO_PATH/include:/workspace/vivado-hlslib \ +-p 8888:8888 \ $DOCKER_TAG bash