You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your outstanding contributions. Recently I want to use mmrazor to call mmcls in order to train the model using K-fold cross-validation. However, I find the PR about KFoldDataset using in master like:
train=dict(
type='KFoldDataset',
dataset=dict(
type=dataset_type,
data_prefix='data/imagenet/train',
pipeline=train_pipeline),
# Modify the `fold` to use different split. For 5-fold cross-validation,
# five experiments need to be executed (fold=0, fold=1, fold=2, ...)
fold=0,
num_splits=5,
# seed = 1, # If set seed, shuffle samples before spliting dataset.
)
I'm having a hard time figuring out how to use this KFoldDataset class in dev1.x. It seems that I can realize it using tools/kfold-cross-valid.py.But if I want to modify the config,can you give me some ideas? Thank you!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Thank you for your outstanding contributions. Recently I want to use mmrazor to call mmcls in order to train the model using K-fold cross-validation. However, I find the PR about KFoldDataset using in master like:
I'm having a hard time figuring out how to use this KFoldDataset class in dev1.x. It seems that I can realize it using
tools/kfold-cross-valid.py
.But if I want to modify the config,can you give me some ideas? Thank you!Beta Was this translation helpful? Give feedback.
All reactions