alibaba / alibaba/euler

One bug in euler/tf_euler/python/dataset/sage_util.py

Open Beginner friendly
#279 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.9k
Forks
553
PR merge metrics
No merged PRs in 30d

Description

The function obj2int(n) in euler/tf_euler/python/dataset/sage_util.py
def obj2int(n):
return n

I think the function needs to be the following :
def obj2int(n):
return int(n)
And the original one will lead to an error when running the ppi dataset.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open euler/tf_euler/python/dataset/sage_util.py and inspect the obj2int(n) function. Run the PPI dataset workflow to reproduce the reported error, then verify that the conversion behaves correctly and the dataset completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.