Skip to content

Instantly share code, notes, and snippets.

Tako Tabak takotab

Block or report user

Report or block takotab

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View blockstack.txt
Verifying my Blockstack ID is secured with the address 1HeQR1Ew72cJpiLtCS7pw1hyajP3hd9xhw https://explorer.blockstack.org/address/1HeQR1Ew72cJpiLtCS7pw1hyajP3hd9xhw
View nice working seq to fastai tab with rand data.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@takotab
takotab / export_to_saved_model.py
Created Apr 26, 2019
Please note it also includes stuff to use models from onnx
View export_to_saved_model.py
import tensorflow as tf
import onnx
from onnx_tf.backend import prepare
import numpy as np
import os
# from PIL import Image
def export(export_path):
View predict_bug_fastai_w_wo_loss.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View make_human_detect_fastai.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@takotab
takotab / fastai_trouble.ipynb
Last active Jan 30, 2019
Please do not use this. Follow the steps as descried on the fastai data block docs.
View fastai_trouble.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View CNN_multicore.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@takotab
takotab / mnist-data-size-example-of-beter-generaization.ipynb
Created Nov 17, 2018
MNIST data size example of beter generaization.ipynb
View mnist-data-size-example-of-beter-generaization.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@takotab
takotab / to_one_hot.py
Created Oct 23, 2018
one hot vector python
View to_one_hot.py
import numpy as np
def to_one_hot(target_vector, n_labels = None):
if n_labels is None:
n_labels = len(set(target_vector))
return np.eye(n_labels)[target_vector]
You can’t perform that action at this time.