当前位置: 首页 > 软件库 > 神经网络/人工智能 > >

tensorflow.cr

Crystal binding for TensorFlow.
授权协议 MIT License
开发语言 Python
所属分类 神经网络/人工智能
软件类型 开源软件
地区 不详
投 递 者 皇甫繁
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

tensorflow.cr

Crystal binding for TensorFlow.

This is an early-stage open-source project. You can call functions from bindings directly, but wrappers are not ready yet.

Requiments

You need to compile and install libtensorflow.so from this repo.

Quick instructions:

$ ./configure
$ cd tensorflow
$ bazel build :libtensorflow.so
$ cp ../bazel-bin/tensorflow/libtensorflow.so /usr/local/lib/

Installation

Add this to your application's shard.yml:

dependencies:
  tensorflow:
    github: fazibear/tensorflow.cr

Usage

require "tensorflow"

See examples repository.

Contributing

  1. Fork it ( https://github.com/fazibear/tensorflow/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • fazibear Michał Kalbarczyk - creator, maintainer

Thank you!

Become Patreon

  • 错误原因: 这个错误可能是由 from tensorflow.contrib.learn.python.learn.datasets import base 引起的; mnist_class脚本中有read_data_sets函数,base有Datasets()与base.maybe_download() 可能是tensorflow从1.9后的版本把这部分删除了 解决方法 解决方法1: 编写自己的

  • 保存模型时出现以下错误 WARNING:tensorflow:Can save best model only with val_loss available, skipping. 原始代码如下: checkpoint = tf.keras.callbacks.ModelCheckpoint(filepath=path,

  • 1、打开anaconda prompt,激活tensorflow环境; 2、tensorboard --logdir="events.out.tfevents文件夹路径",生成一个地址,如:http://DESKTOP-BCEJ37K:6006 3、在浏览器中打开这个地址就可以看到可视化的结果(打不开,使用http://localhost:6006/)        

相关阅读

相关文章

相关问答

相关文档