mantasp / barracuda-release

Temp storage Unity Inference Engine builds
Other
11 stars 5 forks source link

Version of Python and TensorFlow #2

Closed Guidosalimbeni closed 4 years ago

Guidosalimbeni commented 5 years ago

Dear Sir, I am having some issues to convert a pb model to nn type format. My concern is that I need a specific version of python and tensorFlow. I am currently using python 3.5 and TensorFlow 1.8 but I got an error "data" referenced before ... when trying to use tensorflow to barracuda script. I wonder if it is because I need a specific version of python and tf? I am on Windows Best regards ps. trained a MobileNetV2 with 1 added dense layer that I used for transfer learning.

rash1994 commented 5 years ago

hie Guidosalimbeni, Did you get the compatibility of version of tf and python ?

Thanks

Guidosalimbeni commented 5 years ago

In the end, I changed my plan. I am still not able to convert Tensorflow model into barracuda NN file format. But I am able to use the tensorflow model with tensorFlowSharp in Unity. I have python 3.5 TF 1.7.1 and TFsharp 4.0 . At one point I will have to look back on how to convert TF model to Barracuda. I posted a question, I think soon I will get an answer.

rash1994 commented 5 years ago

Thank you for the reply. I am also searching for the same thing. May be we need to code the convertor according to our tf model.

Can you please guide me on using TensorflowSharp in unity ?

On Mon 22 Jul, 2019, 7:36 PM Guido Salimbeni, notifications@github.com wrote:

In the end, I changed my plan. I am still not able to convert Tensorflow model into barracuda NN file format. But I am able to use the tensorflow model with tensorFlowSharp in Unity. I have python 3.5 TF 1.7.1 and TFsharp 4.0 . At one point I will have to look back on how to convert TF model to Barracuda. I posted a question, I think soon I will get an answer.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mantasp/barracuda-release/issues/2?email_source=notifications&email_token=AHM7VLSPIYOLXPPW2BCCLLTQAW5ERA5CNFSM4H5D4WEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2QA5EY#issuecomment-513805971, or mute the thread https://github.com/notifications/unsubscribe-auth/AHM7VLXUS2ZUYHP2HQMFO6LQAW5ERANCNFSM4H5D4WEA .

Guidosalimbeni commented 5 years ago

Sorry, I don't think I am the right person to suggest a solution or guidance. I am still experimenting...beginner,,

rash1994 commented 5 years ago

Okay.

Thank you.

On Mon 22 Jul, 2019, 10:16 PM Guido Salimbeni, notifications@github.com wrote:

Sorry, I don't think I am the right person to suggest a solution or guidance. I am still experimenting...beginner,,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mantasp/barracuda-release/issues/2?email_source=notifications&email_token=AHM7VLXOJKKHVCJCXD4WT6DQAXP43A5CNFSM4H5D4WEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2QOXJQ#issuecomment-513862566, or mute the thread https://github.com/notifications/unsubscribe-auth/AHM7VLXEMWHRIP4LABAB233QAXP43ANCNFSM4H5D4WEA .