Skip to content

add evaluate for utsf models#277

Merged
zezhishao merged 4 commits into
masterfrom
dev/eval_utfs
Sep 23, 2025
Merged

add evaluate for utsf models#277
zezhishao merged 4 commits into
masterfrom
dev/eval_utfs

Conversation

@zezhishao

Copy link
Copy Markdown
Collaborator

No description provided.

@duyifanict duyifanict left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

comments on code

if 'DATASET' in cfg:
cfg['DATASET']['PARAM']['input_len'] = context_length
else:
cfg['TEST']['DATASET']['PARAM']['input_len'] = context_length

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

cfg[mode.upper()]['DATA']['DATASET']['PARAM']['mode'] = mode
dataset = cfg[mode.upper()]['DATA']['DATASET']['TYPE'](**cfg['TRAIN']['DATA']['DATASET']['PARAM'])

“cfg['TEST']['DATASET']['PARAM']['input_len'] = context_length” 应该是对应上面用的吧,两边不一致,少了一个DATA

if 'DATASET' in cfg:
cfg['DATASET']['PARAM']['output_len'] = prediction_length
else:
cfg['TEST']['DATASET']['PARAM']['output_len'] = prediction_length

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

同766行

@duyifanict duyifanict left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@zezhishao zezhishao merged commit fc2773e into master Sep 23, 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.

2 participants