Hi.
I tried to run image segmentation example.
I first needed change open("data_train_dict.pickle") to open("data_train.pickle",'rb') to remove error reading the file.
However, in windows bash, it just crashes with msg
[ 0.01347196 1.20156934 3.20418491 1.03334963 1.20859606 1.37779951
0.57249287 0.57249287 0.37817004 0.93515804 1.375507 0.77695461
0.67594416 1.01184787 0.87572003 0.23247461 1.75515861 1.03205956
0.96125547 0.7964159 1.00937693]
Training n-slack dual structural SVM
iteration 0
Aborted (core dumped)
In windows native python,
File "c:\Users\heejin\Anaconda2\lib\site-packages\sklearn\externals\joblib\parallel.py", line 540, in _initialize_backend
File "c:\Users\heejin\Anaconda2\lib\site-packages\sklearn\externals\joblib_parallel_backends.py", line 299, in configure
**self._backend_args)
File "c:\Users\heejin\Anaconda2\lib\site-packages\sklearn\externals\joblib_parallel_backends.py", line 299, in configure
'[joblib] Attempting to do parallel computing '
'[joblib] Attempting to do parallel computing '
ImportError: [ImportError: [joblib] Attempting to do parallel computing without protecting your import on a system that does not support forking. To use parallel-computing in a script, you must protect your main loop using "if name == 'main'". Please see the joblib documentation on Parallel for more information
joblib] Attempting to do parallel computing without protecting your import on a system that does not support forking. To use parallel-computing in a script, you must protect your main loop using "if name == 'main'". Please see the joblib documentation on Parallel for more information
I have this error. Can you help? Thank you.
Hi.
I tried to run image segmentation example.
I first needed change open("data_train_dict.pickle") to open("data_train.pickle",'rb') to remove error reading the file.
However, in windows bash, it just crashes with msg
[ 0.01347196 1.20156934 3.20418491 1.03334963 1.20859606 1.37779951
0.57249287 0.57249287 0.37817004 0.93515804 1.375507 0.77695461
0.67594416 1.01184787 0.87572003 0.23247461 1.75515861 1.03205956
0.96125547 0.7964159 1.00937693]
Training n-slack dual structural SVM
iteration 0
Aborted (core dumped)
In windows native python,
File "c:\Users\heejin\Anaconda2\lib\site-packages\sklearn\externals\joblib\parallel.py", line 540, in _initialize_backend
File "c:\Users\heejin\Anaconda2\lib\site-packages\sklearn\externals\joblib_parallel_backends.py", line 299, in configure
**self._backend_args)
File "c:\Users\heejin\Anaconda2\lib\site-packages\sklearn\externals\joblib_parallel_backends.py", line 299, in configure
'[joblib] Attempting to do parallel computing '
'[joblib] Attempting to do parallel computing '
ImportError: [ImportError: [joblib] Attempting to do parallel computing without protecting your import on a system that does not support forking. To use parallel-computing in a script, you must protect your main loop using "if name == 'main'". Please see the joblib documentation on Parallel for more information
joblib] Attempting to do parallel computing without protecting your import on a system that does not support forking. To use parallel-computing in a script, you must protect your main loop using "if name == 'main'". Please see the joblib documentation on Parallel for more information
I have this error. Can you help? Thank you.