DevOps研发效能
媒体矩阵
开源中国APP
授权协议 Apache 2.0
开发语言 Java Python
操作系统 跨平台
软件类型 开源软件
开源组织
地区 不详
投 递 者 一君_
适用人群 未知
收录时间 2020-08-07

软件简介

Bayou 是一个数据驱动的计算机程序代码合成系统,它从 GitHub 上采集数据,通过深度学习算法和训练,将 Java 代码编写部分自动化。

依赖:

  • JDK 1.8
  • Python3 (Tested with 3.5.1)
  • Tensorflow (Tested with 1.4)
  • scikit-learn (Tested with 0.19)

在 Ubuntu / Mac 上,编译和运行 Bayou 源代码:

安装依赖项

cd bayou/tool_files/build_scripts
sudo ./install_dependencies.sh

编译 Bayou

./build.sh

运行 Bayou

cd out/
./start_bayou.sh &

等待结果:

===================================
            Bayou Ready            
===================================

执行:

./synthesize.sh

在输出时,应该看到下面的分隔字符

---------- BEGIN PROGRAM  ----------

要在提供的一些示例上运行 Bayou,需执行以下操作

./synthesize.sh example_inputs/<Program.java>

示例程序名称 Program.java

展开阅读全文

代码

的 Gitee 指数为
超过 的项目

评论

点击加入讨论🔥(8) 发布并加入讨论🔥
暂无内容
发表了博客
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
发表了问答
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
暂无内容
8 评论
34 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部