Skip to content

Instantly share code, notes, and snippets.

View Kjeanclaude's full-sized avatar

KOUASSI Konan Jean-Claude Kjeanclaude

View GitHub Profile
'''This script goes along the blog post
"Building powerful image classification models using very little data"
from blog.keras.io.
It uses data that can be downloaded at:
https://www.kaggle.com/c/dogs-vs-cats/data
In our setup, we:
- created a data/ folder
- created train/ and validation/ subfolders inside data/
- created cats/ and dogs/ subfolders inside train/ and validation/
- put the cat pictures index 0-999 in data/train/cats
@Kjeanclaude
Kjeanclaude / VIDEO-QA with Tensorflow 1.2RC0.ipynb
Last active June 15, 2018 03:57
EXAMPLE OF VIDEO-QA IMPLEMENTATION WITH TENSORFLOW 1.2RC0
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Kjeanclaude
Kjeanclaude / improved_wGAN_loss.py
Created May 29, 2017 16:40 — forked from mjdietzx/improved_wGAN_loss.py
tensorflow implementation of Wasserstein distance with gradient penalty
"""
wGAN implemented on top of tensorflow as described in: [Wasserstein GAN](https://arxiv.org/pdf/1701.07875.pdf)
with improvements as described in: [Improved Training of Wasserstein GANs](https://arxiv.org/pdf/1704.00028.pdf).
"""
import tensorflow as tf
#
@Kjeanclaude
Kjeanclaude / automobile.ipynb
Created May 28, 2017 01:02 — forked from martinwicke/automobile.ipynb
Estimator demo using Automobile dataset
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
class TemporalCoupling {
fun incorrectUsageOfBadApi() {
val badApi: BadApi = BadApi()
badApi.username = "Zak"
badApi.password = "temporalCouplingIsBad_123"
badApi.login() //throws an NullPointerException
}
@Kjeanclaude
Kjeanclaude / amazon-rekognition.md
Created December 22, 2016 17:33 — forked from alexcasalboni/amazon-rekognition.md
Amazon Rekognition - Python Code Samples

Amazon Rekognition - Python Code Samples

  1. Labels Detection
  2. Faces Detection
  3. Faces Comparison
  4. Faces Indexing
  5. Faces Search
@Kjeanclaude
Kjeanclaude / delete_first.py
Created December 8, 2016 22:35 — forked from adarsh0806/delete_first.py
delete_first
def delete_first(self):
deleted = self.head
if self.head:
self.head = self.head.next
deleted.next = None
return deleted