Coder Social home page Coder Social logo

esmm's Introduction

一、esmm模型的原理介绍

——>博客地址

二、脚本介绍

1、test.py 构造tfrecords数据,数据是我瞎造的,为了跑通并调试脚本。
2、esmm.py 训练esmm模型
3、numeric_column.py 练习tf.feature_column API和模型无关,不感兴趣,可忽略。

三、脚本使用:

1、运行test.py构造data.tfrecord数据
2、运行esmm.py文件

esmm's People

Contributors

ttjjlw 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

Watchers

 avatar  avatar

esmm's Issues

怎么改成分布式的?

看你的代码,感觉写了一些分布式TensorFlow的配置,但是在具体构建模型时并没有对ps和worker节点进行task的分配,还会更新完善分布式的部分吗?

转换tfrecord数据的一个bug

#将存有所有feature的字典送入tf.train.Features中
tf_features = tf.train.Features(feature= features)
#再将其变成一个样本example
tf_example = tf.train.Example(features = tf_features)
#序列化该样本
tf_serialized = tf_example.SerializeToString()

这段代码应该在循环里

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.