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

Some questions #12

Open
kerryhhh opened this issue Aug 16, 2022 · 4 comments
Open

Some questions #12

kerryhhh opened this issue Aug 16, 2022 · 4 comments

Comments

@kerryhhh
Copy link

Hi! I would like to ask if the parameters of the pre-trained model you provided were converted from the original author's tensorflow version? Then can you provide the relevant training code? Thank you very much!

@RonyAbecidan
Copy link
Owner

RonyAbecidan commented Aug 16, 2022 via email

@kerryhhh
Copy link
Author

Thanks! In addition, I found that the code you provided cannot run in a multi-gpu environment, and the parameters in the bayar_conv part will report an error in multi-gpu environments.

@RonyAbecidan
Copy link
Owner

Thanks for noticing me about that issue. I will try to make the code operational in a multi-gpu environment. In the same time if you find a way to make it compatible with a multi-gpu environment please don't hesitate to do a pull request 😉

RonyAbecidan added a commit that referenced this issue Sep 27, 2022
@RonyAbecidan
Copy link
Owner

RonyAbecidan commented Sep 27, 2022

Hello,

I think I fixed the cause of the bug in the multi-gpu setting. Can you try to run again your code ? If it does not work try also to add in the beginning of your code the following lines.

import os
os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"
os.environ["CUDA_VISIBLE_DEVICES"] = "0,3"

replacing 0,3 by the GPUs you want to use.

My patch is in the branch patch-12

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