Skip to content

Instantly share code, notes, and snippets.

View borisdayma's full-sized avatar

Boris Dayma borisdayma

View GitHub Profile
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
~/Projects/fastai2/fastai2/learner.py in _do_epoch_validate(self, ds_idx, dl)
182 self.dl = dl; self('begin_validate')
--> 183 with torch.no_grad(): self.all_batches()
184 except CancelValidException: self('after_cancel_validate')
~/Projects/fastai2/fastai2/learner.py in all_batches(self)
152 self.n_iter = len(self.dl)
--> 153 for o in enumerate(self.dl): self.one_batch(*o)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@borisdayma
borisdayma / demo.html
Last active October 18, 2020 15:40
Claire's Number Line
<!DOCTYPE html>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<head>
<title>Claire's Number Line</title>
</head>
<html>
<div id="app"></div>
</html>