-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wann_train.py error #11
Comments
It seems like there is something goes wrong with the mpi4py, but i'm already use the version==3.0. This error happened in win10 system. |
replace File "D:/Desktop/evolution/code/WANN/wann_train.py", line 233, in mpi_fork |
There's no longer an error! Thanks! |
There's another problem. Now that the program just stack in line 233 and can not get through. |
not stack ,its just begin to calculate the model,that,s how the code works |
So I can only wait until it ends? How long should it takes? Is there a progress bar? |
Oh, I found out where the problem is. I used to use the spyder to run the file directly. When I run in the terminal, the program runs normally. Thank you for your help! |
I have the same error when running on windows, but it works when running on ubuntu. |
runfile('D:/Desktop/evolution/code/WANN/wann_train.py', wdir='D:/Desktop/evolution/code/WANN')
['mpirun', '-np', '9', 'C:\Users\administered\Anaconda3\pythonw.exe', 'D:/Desktop/evolution/code/WANN/wann_train.py']
Traceback (most recent call last):
File "", line 1, in
runfile('D:/Desktop/evolution/code/WANN/wann_train.py', wdir='D:/Desktop/evolution/code/WANN')
File "C:\Users\administered\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "C:\Users\administered\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "D:/Desktop/evolution/code/WANN/wann_train.py", line 283, in
if "parent" == mpi_fork(args.num_worker+1): os._exit(0)
File "D:/Desktop/evolution/code/WANN/wann_train.py", line 233, in mpi_fork
subprocess.check_call(["mpirun", "-np", str(n), sys.executable] +['-u']+ sys.argv, env=env)
File "C:\Users\administered\Anaconda3\lib\subprocess.py", line 306, in check_call
retcode = call(*popenargs, **kwargs)
File "C:\Users\administered\Anaconda3\lib\subprocess.py", line 287, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\administered\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 143, in init
super(SubprocessPopen, self).init(*args, **kwargs)
File "C:\Users\administered\Anaconda3\lib\subprocess.py", line 729, in init
restore_signals, start_new_session)
File "C:\Users\administered\Anaconda3\lib\subprocess.py", line 1017, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
The text was updated successfully, but these errors were encountered: