Skip to content

add get_incorrect_models#375

Merged
lixinqi merged 14 commits intoPaddlePaddle:developfrom
roll-away:develop
Nov 21, 2025
Merged

add get_incorrect_models#375
lixinqi merged 14 commits intoPaddlePaddle:developfrom
roll-away:develop

Conversation

@roll-away
Copy link
Contributor

@roll-away roll-away commented Nov 21, 2025

Description

add get_incorrect_models and remove unnecessary files.
test outputs are as follows:
440345ab07c5f011c50c2d80d

@paddle-bot
Copy link

paddle-bot bot commented Nov 21, 2025

Thanks for your contribution!

@CLAassistant
Copy link

CLAassistant commented Nov 21, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@lixinqi lixinqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add bash test file in graph_net/test/

datalist = parse_logs_to_data(log_file_path)
for i in datalist:
iscorrect, err = check_sample_correctness(i, tolerance)
if not iscorrect and err == "accuracy":
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if not iscorrect:

Accuracy violations are not the only factor considered.

export PYTHONPATH="$PROJECT_ROOT:$PYTHONPATH"

TOLERANCE_LIST=(-2 -1 0 1 2)
LOG_FILE_PATH="your/log/file/path"
Copy link
Collaborator

@lixinqi lixinqi Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please upload your log file into current directory. and reset LOG_FILE_PATH with relative file path

@lixinqi lixinqi merged commit 8abea5d into PaddlePaddle:develop Nov 21, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants