Skip to content

Commit 4dc43d8

Browse files
committed
link to web demo
1 parent 38b2812 commit 4dc43d8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Neural-Backed Decision Trees
22

3-
[Project Page]()  //  [Paper]()  //  [No-code Web Demo]()  //  [Colab Notebook](https://colab.research.google.com/github/alvinwan/neural-backed-decision-trees/blob/master/examples/load_pretrained_nbdts.ipynb)
3+
[Project Page]()  //  [Paper]()  //  [No-code Web Demo](https://nbdt--alvinwan1.repl.co)  //  [Colab Notebook](https://colab.research.google.com/github/alvinwan/neural-backed-decision-trees/blob/master/examples/load_pretrained_nbdts.ipynb)
44

55
Run decision trees that achieve state-of-the-art accuracy for explainable models on CIFAR10, CIFAR100, TinyImagenet200, and ImageNet. NBDTs achieve accuracies within 1% of the original neural network on CIFAR10, CIFAR100, and TinyImagenet200 with the recently state-of-the-art WideResNet; and within 2% of the original neural network on Imagenet, using recently state-of-the-art EfficientNet.
66

@@ -22,7 +22,7 @@ Per the pipeline illustration above, we (1) [generate the hierarchy](https://git
2222

2323
## Running Pretrained NBDT on Examples
2424

25-
<i>Don't want to download? Try your own images on the [web demo]().</i>
25+
<i>Don't want to download? Try your own images on the [web demo](https://nbdt--alvinwan1.repl.co).</i>
2626

2727
Pip install the `nbdt` utility and run it on an image of your choosing. This can be a local image path or an image URL. Below, we evaluate on an image of a cat, from the web. This cat is pictured below.
2828

examples/app/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from torchvision import transforms
55
from nbdt.utils import DATASET_TO_CLASSES, load_image_from_path, maybe_install_wordnet
66

7+
8+
maybe_install_wordnet()
79
app = Flask(__name__)
810

911

0 commit comments

Comments
 (0)