Skip to content

please help me,I don't know how to run the train.py #43

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

Open
chenchch94 opened this issue Oct 18, 2018 · 2 comments
Open

please help me,I don't know how to run the train.py #43

chenchch94 opened this issue Oct 18, 2018 · 2 comments

Comments

@chenchch94
Copy link

can you tell me ?

Traceback (most recent call last):
File "train.py", line 15, in
from loss import FocalLoss
File "H:\datasets\tianchi_lvcai\tianchi_lvcai_fusai\pytorch-retinanet-master\loss.py", line 7, in
from utils import one_hot_embedding
File "H:\datasets\tianchi_lvcai\tianchi_lvcai_fusai\pytorch-retinanet-master\utils.py", line 242, in
_, term_width = os.popen('stty size', 'r').read().split()
ValueError: not enough values to unpack (expected 2, got 0)

@Brozhao
Copy link

Brozhao commented Dec 12, 2018

run on the terminal

@doublemanyu
Copy link

Because there is no command named "stty size" in Windows, so you should run in Linux, or you set a number for term_width in utils.py

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