Skip to content
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

Syntax Error #19

Closed
123Abelian opened this issue Jul 20, 2018 · 3 comments
Closed

Syntax Error #19

123Abelian opened this issue Jul 20, 2018 · 3 comments

Comments

@123Abelian
Copy link

When I use the following command on the Cifar10 python-oriented dataset:

mpiexec -n 1 python train.py --problem cifar10 --image_size 32 --n_level 3 --depth 32 --flow_permutation 2 --flow_coupling 0 --seed 0 --learntop --lr 0.001 --n_bits_x 5 --ycond --weight_y=0.01

I just get the following error:

File "train.py", line 23
print(*args, **kwargs)
^
SyntaxError: invalid syntax

Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.


mpiexec detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

Process name: [[25954,1],0]
Exit code: 1

Any ideas as to what could be happening? I've not modified the code in any way, shape, or form.

@123Abelian
Copy link
Author

Never mind, set python to python3 and it worked

@ascenoputing
Copy link

I am using python3.7, the error still exist

@paulchou0309
Copy link

@123Abelian Hi,how to solve the 2nd problem,i met too .mpiexec detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

Process name: [[25954,1],0]
Exit code: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants