Created
September 8, 2020 21:45
-
-
Save fonsp/3b659195c2a766af378151956b2b7684 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: binder-tensorboard | |
| channels: | |
| - conda-forge | |
| - defaults | |
| dependencies: | |
| - _libgcc_mutex=0.1=conda_forge | |
| - _openmp_mutex=4.5=0_gnu | |
| - _tflow_select=2.3.0=mkl | |
| - absl-py=0.9.0=py37_0 | |
| - aiohttp=3.6.2=py37h516909a_0 | |
| - astor=0.7.1=py_0 | |
| - async-timeout=3.0.1=py_1000 | |
| - attrs=19.3.0=py_0 | |
| - backcall=0.1.0=py_0 | |
| - bleach=3.1.0=py_0 | |
| - c-ares=1.15.0=h516909a_1001 | |
| - ca-certificates=2019.11.28=hecc5488_0 | |
| - certifi=2019.11.28=py37_0 | |
| - chardet=3.0.4=py37_1003 | |
| - decorator=4.4.1=py_0 | |
| - defusedxml=0.6.0=py_0 | |
| - entrypoints=0.3=py37_1000 | |
| - gast=0.2.2=py_0 | |
| - google-pasta=0.1.8=py_0 | |
| - grpcio=1.23.0=py37he9ae1f9_0 | |
| - h5py=2.10.0=nompi_py37h513d04c_101 | |
| - hdf5=1.10.5=nompi_h3c11f04_1104 | |
| - idna=2.8=py37_1000 | |
| - importlib_metadata=1.4.0=py37_0 | |
| - ipykernel=5.1.3=py37h5ca1d4c_0 | |
| - ipython=7.11.1=py37h5ca1d4c_0 | |
| - ipython_genutils=0.2.0=py_1 | |
| - jedi=0.15.2=py37_0 | |
| - jinja2=2.10.3=py_0 | |
| - jsonschema=3.2.0=py37_0 | |
| - jupyter-server-proxy=1.2.0=py_0 | |
| - jupyter_client=5.3.4=py37_1 | |
| - jupyter_core=4.6.1=py37_0 | |
| - keras-applications=1.0.8=py_1 | |
| - keras-preprocessing=1.1.0=py_0 | |
| - ld_impl_linux-64=2.33.1=h53a641e_7 | |
| - libblas=3.8.0=14_openblas | |
| - libcblas=3.8.0=14_openblas | |
| - libffi=3.2.1=he1b5a44_1006 | |
| - libgcc-ng=9.2.0=h24d8f2e_2 | |
| - libgfortran-ng=7.3.0=hdf63c60_4 | |
| - libgomp=9.2.0=h24d8f2e_2 | |
| - liblapack=3.8.0=14_openblas | |
| - libopenblas=0.3.7=h5ec1e0e_6 | |
| - libprotobuf=3.11.2=h8b12597_0 | |
| - libsodium=1.0.17=h516909a_0 | |
| - libstdcxx-ng=9.2.0=hdf63c60_2 | |
| - markdown=3.1.1=py_0 | |
| - markupsafe=1.1.1=py37h516909a_0 | |
| - mistune=0.8.4=py37h516909a_1000 | |
| - more-itertools=8.1.0=py_0 | |
| - multidict=4.7.3=py37h516909a_0 | |
| - nbconvert=5.6.1=py37_0 | |
| - nbformat=5.0.3=py_0 | |
| - ncurses=6.1=hf484d3e_1002 | |
| - notebook=6.0.1=py37_0 | |
| - numpy=1.17.3=py37h95a1406_0 | |
| - openssl=1.1.1d=h516909a_0 | |
| - opt_einsum=3.1.0=py_0 | |
| - pandoc=2.9.1.1=0 | |
| - pandocfilters=1.4.2=py_1 | |
| - parso=0.5.2=py_0 | |
| - pexpect=4.7.0=py37_0 | |
| - pickleshare=0.7.5=py37_1000 | |
| - pip=19.3.1=py37_0 | |
| - prometheus_client=0.7.1=py_0 | |
| - prompt_toolkit=3.0.2=py_0 | |
| - protobuf=3.11.2=py37he1b5a44_0 | |
| - ptyprocess=0.6.0=py_1001 | |
| - pygments=2.5.2=py_0 | |
| - pyrsistent=0.15.7=py37h516909a_0 | |
| - python=3.7.6=h357f687_2 | |
| - python-dateutil=2.8.1=py_0 | |
| - pyzmq=18.1.1=py37h1768529_0 | |
| - readline=8.0=hf8c457e_0 | |
| - scipy=1.4.1=py37h921218d_0 | |
| - send2trash=1.5.0=py_0 | |
| - setuptools=45.0.0=py37_1 | |
| - simpervisor=0.3=py_1 | |
| - six=1.14.0=py37_0 | |
| - sqlite=3.30.1=hcee41ef_0 | |
| - tensorboard=2.0.0=pyhb38c66f_1 | |
| - tensorflow=2.0.0=mkl_py37h66b46cc_0 | |
| - tensorflow-base=2.0.0=mkl_py37h9204916_0 | |
| - tensorflow-estimator=2.0.0=pyh2649769_0 | |
| - termcolor=1.1.0=py_2 | |
| - terminado=0.8.3=py37_0 | |
| - testpath=0.4.4=py_0 | |
| - tk=8.6.10=hed695b0_0 | |
| - tornado=6.0.3=py37h516909a_0 | |
| - traitlets=4.3.3=py37_0 | |
| - wcwidth=0.1.8=py_0 | |
| - webencodings=0.5.1=py_1 | |
| - werkzeug=0.16.0=py_0 | |
| - wheel=0.33.6=py37_0 | |
| - wrapt=1.11.2=py37h516909a_0 | |
| - xz=5.2.4=h14c3975_1001 | |
| - yarl=1.3.0=py37h516909a_1000 | |
| - zeromq=4.3.2=he1b5a44_2 | |
| - zipp=1.0.0=py_0 | |
| - zlib=1.2.11=h516909a_1006 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # tensorboard launches at startup | |
| mv tensorboardserverextension.py ${NB_PYTHON_PREFIX}/lib/python*/site-packages/ | |
| # enable tensorboard extension | |
| jupyter serverextension enable --sys-prefix tensorboardserverextension |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from subprocess import Popen | |
| def load_jupyter_server_extension(nbapp): | |
| """serve the tensorboard with data from logs directory""" | |
| Popen(["tensorboard", "--logdir", "logs", "--port", "6006"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment