Skip to content

Commit a96cffb

Browse files
committed
updating environment, fixing notebook, implementing ginput in notebooks
1 parent e535f4c commit a96cffb

File tree

5 files changed

+113
-49
lines changed

5 files changed

+113
-49
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# Deep Extreme Cut (DEXTR)
2-
3-
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/4QuantOSS/DEXTR-KerasTensorflow/master)
1+
# Deep Extreme Cut (DEXTR) [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/4QuantOSS/DEXTR-KerasTensorflow/master)
2+
[![Demo](https://img.shields.io/badge/launch-interactive_demo-yellow.svg)](https://mybinder.org/v2/gh/4QuantOSS/DEXTR-KerasTensorflow/master?urlpath=%2Fapps%2Fnotebooks%2FDemo.ipynb)
43

54
Visit our [project page](http://www.vision.ee.ethz.ch/~cvlsegmentation/dextr) for accessing the paper, and the pre-computed results.
65

binder/environment.yml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ dependencies:
2424
- torchvision
2525
- opencv3>=3.0
2626
- tensorflow==1.4.0
27+
- appmode
2728
- pip:
2829
- keras==2.1.3
2930
- plotly==2.1.0

binder/postBuild

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
cd models
2-
. download_dextr_model.sh
2+
sh download_dextr_model.sh
33
cd ..
4+
mkdir $HOME/.jupyter
5+
echo "c.NotebookApp.iopub_data_rate_limit=1e22" >> $HOME/.jupyter/jupyter_notebook_config.py

mypath.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
class Path(object):
33
@staticmethod
44
def models_dir():
5-
return os.path.join(os.path.dirname(___file___), 'models/')
5+
return os.path.join(os.path.dirname(__file__), 'models/')

notebooks/Demo.ipynb

+106-44
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)