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

ValueError: not enough values to unpack (expected 2, got 0) #5

Closed
cv-shiyanshi opened this issue Dec 18, 2018 · 1 comment
Closed

Comments

@cv-shiyanshi
Copy link

cv-shiyanshi commented Dec 18, 2018

When I run your code just by python trian.py, I ran into a problem, how can I fix it? Thanks for your answer.

File "D:\hjy\BraTs\pytorch\utils.py", line 16, in <module>
    _, term_width = os.popen('stty size', 'r').read().split()
ValueError: not enough values to unpack (expected 2, got 0)
@cv-shiyanshi
Copy link
Author

Because I use Windows system, this script is used under linux. I change term_width to 80.

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

1 participant