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

There was a problem during running the train.py file #235

Open
PiBigStar5712 opened this issue Mar 21, 2023 · 1 comment
Open

There was a problem during running the train.py file #235

PiBigStar5712 opened this issue Mar 21, 2023 · 1 comment

Comments

@PiBigStar5712
Copy link

Describe the bug
Traceback (most recent call last):
File "F:\yolact_edge-master\train.py", line 53, in
port = 2 ** 15 + 2 ** 14 + hash(os.getuid()) % 2 ** 14
AttributeError: module 'os' has no attribute 'getuid'. Did you mean: 'getpid'?

Environment:

  • OS: Windows 10
  • GPU: RTX2060super
  • CUDA Version 11.8
  • python 3.10
  • pytorch 1.11.0
@Hogushake
Copy link

hello.
When using the train command, try adding --num_workers=0.

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

2 participants