Skip to content

fix: replace bare except with Exception in dataset loading#24

Open
haosenwang1018 wants to merge 1 commit intolasgroup:mainfrom
haosenwang1018:fix/bare-except
Open

fix: replace bare except with Exception in dataset loading#24
haosenwang1018 wants to merge 1 commit intolasgroup:mainfrom
haosenwang1018:fix/bare-except

Conversation

@haosenwang1018
Copy link
Copy Markdown

Replace bare except: with except Exception: in data/preprocess.py for the dataset split name fallback.

Dataset split fallback from 'train' to 'test' should catch Exception,
not BaseException.
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.

1 participant