Skip to content

Please follow this to get the "Solution to creating the files under the data folder" #70

@Joey0538

Description

@Joey0538

Please check the "prepare_data.py" and "build_graph.py" files from this link: https://github.com/yao8839836/text_gcn

Modify the "prepare_data.py" according to your needs.
The "build_graph.py" helps in creating the ind.{dataset_name}.allx, ally, tx, ty, and adj (i.e. graph) files.
Try to avoid runtime warning of "divide by zero" when you try to compile build_graph.py as it'll give you incorrect results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions