Coder Social home page Coder Social logo

hgt-hpg's Introduction

This is a PyTorch implementation of HPG+HGT

Learning to Represent Programs with Heterogeneous Graphs (Accepted by ICPC 2022)

https://arxiv.org/abs/2012.04188v3

  • remove some source code files containing personal information

hgt-hpg's People

Contributors

zkcpku avatar

Stargazers

Sui Yuhang avatar lzhzssy avatar Alohui avatar TreeNewBee avatar  avatar Chenxiao Liu avatar CUE avatar  avatar Ce Zheng avatar  avatar Wang Wenhan avatar

Forkers

nnroy

hgt-hpg's Issues

请问java_asdl.pkl是怎么获取的呢

你好,我从项目仓库中发现缺少了一些关键文件,使得项目无法整个流程跑通,其中包括了缺失的java_asdl.pkl(python的语法规则还能从ast库中找到官网提供的语法),java或者其他语言似乎并没有太多的工作或工具能够为AST树提供丰富的类型信息等等。
请问能否提供这些文件呢?

想请教下run_classification中my_config各项参数的设置

您好!我在尝试运行codenet_py_classification目录下的run_classification.py文件,其中涉及到许多my_config参数的设置。我尝试根据您论文中实验部分的参数自行创建了一个my_config,如下图:
image
image

不过我在一张RTX3090上运行后发现训练时间似乎特别久,一个epoch训练时间达到了几小时。

dad196f4fc97bb579d49e247db2a737

因此想向作者您请教上图中的参数设置是否有误(或者您是否能提供my_config中训练有关参数的具体数据),另外也想向您请教下V100在codenet数据集上训练分类任务的时间大概是多长。

期待您的回复与指点,谢谢!

请教myparser.py运行后报错KeyError: 'Constant'

您好,我在尝试运行python_parser目录下的myparser.py时产生了KeyError: 'Constant'的报错,同样的报错也发生在了运行process_data.py。由于我并未修改作者您的代码,所以想问下该报错可能产生的原因,谢谢!

myparser.py中的报错

image

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.