tinygrad/models
Jacky Lee 5d212864b5
Add MLPerf UNet3D model (#775)
* Add ResNet inference test and cannon

* Test with ResNet50

* test_car works with resnet fix

* Add KiTS19 dataset

* KiTS19: Implement iterate

* No batch load for this dataset

* Save results on iterate

* Implement dice score

* Add data prep and eval functions

* Resolve shape issue

* Conversion works but wrong values

* Segfaults when load_from_pretrained is called

* Fix segfault and assign properly

* Final result generated, though very slow

* Store and load final result to save time

* Fix typo in finalize

* Score computes

* More bug fixes, dice score is very low

* Working broken code

* Assign output values to result

* Getting a much higher score now

* Fix dataset preprocessing

* Mean DICE score of 88.5

* Ugh, typo

* Attempt to reimplement model

* Rename layers

* Tiny model works, kinda

* Accuracy? gone

* Implement InstanceNorm and match torch

* Test instance norm 2d and 3d

* Combined input block with downsample block

* Tiny model works, support strided convtranspose

* Commands to download dataset

* Clean up a bit

* unet3d_v2 -> unet3d

* Remove duplicated code

* Oops, put tests back
2023-05-28 20:38:19 -07:00
..
bert.py Add mlperf bert model (#803) 2023-05-27 14:53:32 -07:00
convnext.py LayerNorm2d for 2 lines 2023-03-20 16:58:43 -07:00
efficientnet.py third try at torch loading (#677) 2023-03-10 19:11:29 -08:00
resnet.py add retinanet with resnet backbone (#813) 2023-05-28 20:20:16 -07:00
retinanet.py add retinanet with resnet backbone (#813) 2023-05-28 20:20:16 -07:00
rnnt.py Promote Embedding to nn (#798) 2023-05-25 18:39:45 -07:00
transformer.py good changes from llama branch (#671) 2023-03-09 20:51:22 -08:00
unet3d.py Add MLPerf UNet3D model (#775) 2023-05-28 20:38:19 -07:00
vit.py good changes from llama branch (#671) 2023-03-09 20:51:22 -08:00