-
Notifications
You must be signed in to change notification settings - Fork 903
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
convert.py doesn't work with RTX #94
Comments
Hey, Anton! |
Hi,
No, I didn't look into it more. I started to look at the TF2 based yolo
implementation instead.
Cheers,
Anton
…On Fri, 8 Nov 2019 at 13:02, VectorVP ***@***.***> wrote:
Hey, Anton!
I've seen your post here: opencv/opencv#14827
<opencv/opencv#14827>.
Did you solve the problem?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#94?email_source=notifications&email_token=AFR5TKFHX25WL4M5CNLFUG3QSVIMZA5CNFSM4JKN7WLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDQ5OQI#issuecomment-551671617>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFR5TKG45FLLYMSJD2WH6TLQSVIMZANCNFSM4JKN7WLA>
.
|
@antongisli Do you happen to have a link to this? Id really like to take a look at.
|
have you tried the latest tensorflow 2.1 version, unfortunately i can't test it for you since i don't have RTX2080 |
Convert.py worked for me with Ubuntu 18.04 and an RTX2080, if that helps. |
Add these lines to models.py right after the imports gpus = tf.config.experimental.list_physical_devices('GPU') |
Thanks MrPerdition. Your code snippet from TF site (https://www.tensorflow.org/guide/gpu#limiting_gpu_memory_growth) manage to solve the issue and weights are converted. Here's my succesful output if anyone is interested. Ubuntu 18.04 LTS, RTX2070, CUDA 10.2, TensorRT 7 |
I have the same problem if you could solve it please help me as well :(
|
I get an error very similar to the memory issues seen on the detect scripts, but trying to set the TF2 options for gpu memory usage doesn't help/work in convert.py (I tried to import tf2 there and set the options the same as others have done in the other scripts but no dice).
converting and getting the checkpoints on another machine (AWS instance) and copying them over let's me proceed with using the detect scripts, but would be nice to be able to run the conversion locally.
Windows 10, RTX2080.
The text was updated successfully, but these errors were encountered: