Simpletransformers: Always stop when evaluation for classification_model.py

Created on 28 Nov 2020  路  7Comments  路  Source: ThilinaRajapakse/simpletransformers

I have tried for more than five times to run 'classification_model.py' in different datasets. For all the time, the progress evaluation is always stopped (not terminated).

The screenshoot:
Screen Shot 2020-11-28 at 18 41 00

The evaluation process did not progress until I type CTRL+C to quit.

Any information about that?

Thank you.

Most helpful comment

Try to set "dataloader_num_workers": 0,
It solved my problem.

All 7 comments

Hard to say just by looking at this. Can you try running it without multiprocessing. model_args.use_multiprocessing = False

Im having the same Problem, removing model_args.use_multiprocessing = False didnt seem to fix it.

Try to set "dataloader_num_workers": 0,
It solved my problem.

That's seem to solve the problem, thank you

Try to set "dataloader_num_workers": 0,
It solved my problem.

Is it set in args? like:
args={'dataloader_num_workers': 0}

Try to set "dataloader_num_workers": 0,
It solved my problem.

Is it set in args? like:
args={'dataloader_num_workers': 0}

yes

Try to set "dataloader_num_workers": 0,
It solved my problem.

Is it set in args? like:
args={'dataloader_num_workers': 0}

yes

I see, thank a lot for your advise.

Was this page helpful?
0 / 5 - 0 ratings