Giter VIP home page Giter VIP logo

tf_record_estimator_tutorial's Introduction

获取对应的jar包到本地文件

  • git clone https://github.com/tensorflow/ecosystem.git
  • cd ../../hadoop
  • mvn versions:set -DnewVersion=1.12.0
  • mvn clean install
  • cd ../spark/spark-tensorflow-connector
  • mvn versions:set -DnewVersion=1.12.0
  • mvn clean install -Dspark.version=2.1.1

使用run.sh执行对应的py文件

  • 产生tfrecord文件 sh +x run.sh data_to_tfrecord.py 直接产出pmml文件: sh +x run.sh train_pmml_only.py

how to debug in local

In order to debug convenient, could add all jar to $SPARK_HOME/jars

多个tfrecord示例

https://www.programcreek.com/python/example/90440/tensorflow.Example

references

并行读取: https://blog.csdn.net/u014061630/article/details/80776975 tf.contrib.data.parallel_interleave

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.