tinygrad/examples
Skosh 78aa147b39
[WIP] YOLO working on tinygrad! (#245)
* Some progress on yolov3

* Removed some debugging comments… Also, the forward pass eats all RAM for some reason

* forward pass almost runs

* forward pass runs almost

* forward pass runs, now we gotta load the weights

* loading weights works

* fetches config and weights

* everything kind of works, postprocessing of output still needs to be implemented, temp_process_results kind of works, but its kind of terrible, and not how things should be done

* some changes

* fixed some bugs in the forward pass and load_weights function, now outputs more correct values, however some values are still loaded incorrectly

* Something is wrong with the forward pass, Conv2d tests added

* forward pass almost outputs correct values, gotta fix one more thign

* yolo works

* some final changes

* reverting changes

* removed dataloader

* fixed some indentation

* comment out failing test, somehow it fails CI even though it passes on my computer…

* fixed wrong probabilities

* added webcam option to YOLO, now just need to add bounding boxes and speed it up

* some progress towards adding bounding boxes

* trying to speed up yolo layer on GPU, still faster on CPU but with 30GB ram usage

* Faster inference times, bounding boxes added correctly, webcam works, but is slow, and there is a memory leak when running on CPU... Also added tinygrads output on the classic dog image

* removed some debugging print statements

* updated result image

* something weird is going on, mean op on GPU tensor randomly faults, copying a tensor from GPU->CPU takes 10+ seconds…
2021-04-25 18:06:52 -07:00
..
benchmark.py ane refactor, fix examples 2020-12-18 09:19:06 -08:00
efficientnet.py Update examples to new API (#205) 2020-12-19 09:04:12 -08:00
mnist_gan.py fixed example broken after gpu refactor (#238) 2021-01-05 07:41:54 -08:00
serious_mnist.py transformer >99.98% test accuracy in ~30s (#230) 2021-01-02 07:45:09 -08:00
train_efficientnet.py fixed pylint, formatted python files iwth cblack on localhost (#204) 2020-12-17 14:37:31 -08:00
transformer.py transformer >99.98% test accuracy in ~30s (#230) 2021-01-02 07:45:09 -08:00
use_ane.py fixed pylint, formatted python files iwth cblack on localhost (#204) 2020-12-17 14:37:31 -08:00
yolo_nn.py [WIP] YOLO working on tinygrad! (#245) 2021-04-25 18:06:52 -07:00
yolov3.py [WIP] YOLO working on tinygrad! (#245) 2021-04-25 18:06:52 -07:00