Skip to content

Instantly share code, notes, and snippets.

@alvinwan
Created April 10, 2020 10:13
Show Gist options
  • Save alvinwan/30a8b46d9ee20d9576b3d0274a4f5a65 to your computer and use it in GitHub Desktop.
Save alvinwan/30a8b46d9ee20d9576b3d0274a4f5a65 to your computer and use it in GitHub Desktop.
Getting Started with Neural-Backed Decision Trees
from nbdt.model import HardNBDT
from nbdt.models import wrn28_10_cifar10
model = wrn28_10_cifar10()
model = HardNBDT(
pretrained=True,
dataset='CIFAR10',
arch='wrn28_10_cifar10',
model=model)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment