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
{{ message }}
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
When running "python InnerEye/ML/runner.py --model=HelloWorld" on a local Ubuntu 20.04 machine without GPU, the error "XIO: fatal IO error 25 (Inappropriate ioctl for device) on X server ":0"" occurred. This was caused by 'pool_outputs' on line 187 of ./InnerEye/ML/model_testing.py. I suspect this only occurs when there is only one testing data sample. The problem was resolved for me when I obtain 'pool_outputs' as:
Hi @hankuipeng , this does not repro for me unfortunately. Have you tried if the solution listed here works? At the start of model_testing.py, you would add:
Hi @hankuipeng , this does not repro for me unfortunately. Have you tried if the solution listed here works? At the start of model_testing.py, you would add:
import matplotlib
matplotlib.use('Agg')
Hi, thanks for your reply, this solves the problem also :)
When running "python InnerEye/ML/runner.py --model=HelloWorld" on a local Ubuntu 20.04 machine without GPU, the error "XIO: fatal IO error 25 (Inappropriate ioctl for device) on X server ":0"" occurred. This was caused by 'pool_outputs' on line 187 of ./InnerEye/ML/model_testing.py. I suspect this only occurs when there is only one testing data sample. The problem was resolved for me when I obtain 'pool_outputs' as:
pool_outputs = evaluate_model_predictions(process_id=0,
config=config, dataset=ds, results_folder=results_folder)
AB#4152
The text was updated successfully, but these errors were encountered: