Coder Social home page Coder Social logo

miguelgfierro / ai_projects Goto Github PK

View Code? Open in Web Editor NEW
760.0 41.0 175.0 63.45 MB

AI projects

Home Page: https://miguelgfierro.com/

License: Other

Jupyter Notebook 95.51% Perl 0.02% Python 3.07% HTML 0.03% CSS 0.02% JavaScript 0.07% Batchfile 0.01% Shell 0.01% C++ 0.88% Cuda 0.16% C 0.01% R 0.24%
machine-learning artificial-intelligence deep-learning neural-networks examples code-examples programming-exercise data-science big-data analytics

ai_projects's Introduction

Issues Pull requests Commits Last commit

Linkedin Blog

AI projects

This repo contains AI projects in multiple areas of machine learning. Many of these projects have associated articles on the blog sciblog.

You can find a list of most the post I made in this file.

Featured projects

ai_projects's People

Contributors

arktius avatar miguelgfierro avatar trellixvulnteam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ai_projects's Issues

See if it is needed an image transformation

def get_preprocessed_image(my_image, mean_image):
''' Reshape and flip RGB order '''
my_image = my_image.astype(np.float32)
bgr_image = my_image[:, :, ::-1] # RGB -> BGR
image_data = np.ascontiguousarray(np.transpose(bgr_image, (2, 0, 1)))
image_data -= mean_image
return(image_data)

Get coordinates from European stadiums

I found this one that contains teams from Spain, Germany, England, Scotland and France. I'm looking for the rest of the teams in Europe and Russia. Best case scenario would be from teams all over the world.

Set up a question in SO.

execute api from notebook

%%bash --bg
/home/hoaphumanoid/anaconda3/envs/cntk-py35/bin/python /home/hoaphumanoid/installer/sciblog_support/Intro_to_Machine_Learning_API/cntk_api.py

[POST] Transfer learning with pytorch

  • Get TL paper from Bengio
  • Select datasets
  • Code for loading model (ResNets)
  • Code for removing the last layer
  • Code for funetunning
  • Metric for measuring the difference between datasets

Quantify difference between datasets

2 dimensions as stated in this transfer learning tutorial: size and similarity to the original dataset.
A) The size can be in number of examples and number of examples per class, here maybe we can do a weighted quadratic difference.
B) similarity, there is literature on image similarity (maybe KL for colour and texture)

Reading characters from card

I would like to read characters from scratch cards ... I still don't really understand how/where you connected the trained dataset result to CNN.

Manage grayscale images

we can create fake RGB images from 1 channel images by replicating the channels:

data_transform = transforms.Compose([
    transforms.ToTensor(),
    transforms.Lambda(lambda x: torch.cat([x, x, x], 0))
])

source

Install a Kubernetes cluster & drivers

  1. Install Kubernetes cluster
    https://github.com/ritazh/acs-engine/blob/enable-k8v1.6-multiplegpu/docs/kubernetes.md -> shows how to create a Kubernetes cluster

NOTE: Make sure to configure the agent nodes with vm size Standard_NC12 or above to utilize the GPUs

  1. Install drivers:
  • SSH into each node and run the following scripts :
    install-nvidia-driver.sh
curl -L -sf https://raw.githubusercontent.com/ritazh/acs-k8s-gpu/master/install-nvidia-driver.sh | sudo sh

To verify, when you run kubectl describe node <node-name>, you should get something like the following:

Capacity:
alpha.kubernetes.io/nvidia-gpu:    2
cpu:                               12
memory:                            115505744Ki
pods:                              110

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.