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

Probably fix the error running on windows #28

Merged
merged 1 commit into from
Nov 18, 2021

Conversation

Zhaoyi-Yan
Copy link
Contributor

I just copy the code in the folder saicinpainting to my code repository, since I just want to adopt FFC_BN_FLU layer in my net. Then it occurs an error:

  File "C:\Users\xx\tmp\saicinpainting\utils.py", line 104, in <module>
    def register_debug_signal_handlers(sig=signal.SIGUSR1, handler=print_traceback_handler):
AttributeError: module 'signal' has no attribute 'SIGUSR1'

This patch fixes the error.

I just copy the code in the folder `saicinpainting`  to my code repository, since I just want to adopt `FFC_BN_FLU` layer in my net. Then it occurs an error:
```bash
  File "C:\Users\xx\tmp\saicinpainting\utils.py", line 104, in <module>
    def register_debug_signal_handlers(sig=signal.SIGUSR1, handler=print_traceback_handler):
AttributeError: module 'signal' has no attribute 'SIGUSR1'
```

This patch fixes the error.
@windj007 windj007 merged commit 92cc11c into advimman:main Nov 18, 2021
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

Successfully merging this pull request may close these issues.

2 participants