This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import sys | |
| import pandas as pd | |
| import pymongo | |
| import json | |
| def import_content(filepath): | |
| mng_client = pymongo.MongoClient('localhost', 27017) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| TENSORFLOW_COMMIT=9e76bf324f6bac63137a02bb6e6ec9120703ea9b # August 16, 2017 | |
| TENSORFLOW_SERVING_COMMIT=267d682bf43df1c8e87332d3712c411baf162fe9 # August 18, 2017 | |
| MODELS_COMMIT=78007443138108abf5170b296b4d703b49454487 # July 25, 2017 | |
| if [ -z $TENSORFLOW_SERVING_REPO_PATH ]; then | |
| TENSORFLOW_SERVING_REPO_PATH="serving" | |
| fi | |
| INITIAL_PATH=$(pwd) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.linkedin.camus.etl.kafka.coders; | |
| import com.google.gson.JsonObject; | |
| import com.linkedin.camus.coders.CamusWrapper; | |
| import com.linkedin.camus.coders.Message; | |
| import com.linkedin.camus.coders.MessageDecoder; | |
| import org.apache.log4j.Logger; | |
| import java.io.UnsupportedEncodingException; |