-
Notifications
You must be signed in to change notification settings - Fork 17
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
Verify setup & build on Windows #2
Comments
I didn't manage to compile the examples with Visual Studio 64bits |
Did you install libtensorflow with the download script? If not, the required layout is basically:
with the libraries in
As for |
Also, can you confirm the cppflow sources are in |
changed it to:
Severity Code Description Project File Line Suppression State |
They require a Unix shell, so they would work in Msys as long as curl and unzip are installed. I'm not sure, but maybe they would work in Powershell? If you have any time later, send any script errors our way too. :)
That looks like some sort of issue with cppflow templating. Since cppflow is built into the project, then maybe something that was declared in one of the ofxTensorFlow2 UPDATE: Another option is a bug with cppflow. Since I assume you checked out the submodule, it's the correct commit form cppflow upstream. This is important right now as the TF2 support for cppflow is in a branch right now. |
The |
the error with the script is I tried to start over and get cppflow using git submodule update --init --recursive |
Ah ok, that makes sense. They give the Windows download as a zip as most users wouldn't have tar available by default. Hrmmm strange. As you noted, the Windows zips have fewer headers. Maybe they are not up to date? @bytosaur what do you think?
|
Latest commit has fix for script zip file handling. Also, I noticed that the Nightly Builds mentioned on the TF C download page don't have Windows builds. |
The tensorflow download script is working now.
I am not sure what this part of code is doing? This time the example compiled until the end but throwing an exception on launch 'tensorflow.pdb not loaded"
|
I think that's an optional file used for debugging, judging from this. I imagine libtensorflow is built for release and doesn't include this. |
tensorflow/tensorflow#46538 hopefully this should be fixed soon |
i'm just did complied the lastest dev branch, vs2017& win 10 ,with a bit of change |
hey @liquidzym, that sounds wonderful! Let me know if you have a repo up which I can review and pull from :) |
sorry,not yet, but for the ref you can have a look at this
|
One other thing that I didn't see here that ended up being the silver bullet for me to get the movenet example running... Everything was compiling for me, but when I tried to run, I was getting an error saying it was unable to load the cuDNN DLL. After some googling, I found this page, suggesting that there is a very specific combination of TF/CUDA/cuDNN that is recommended. For me, I had downloaded tensorflow_gpu-2.7.0, so according to that chart, that means I needed CUDA 11.2 and cuDNN 8.1 (note that there are multiple versions of cuDNN 8.1, so make sure to choose the version for CUDA 11.2) I'll make a PR for the README once I get a little further along in this project. |
running into weird errors with this and windows 10 |
Hey Dan -- I'm actively using my fork with Windows. It's not polished up yet, but it works. https://github.com/jeffcrouse/ofxTensorFlow2 |
@jeffcrouse Care to make a PR, including any required info added to the readme? |
@jeffcrouse I'm able to build this repo with openFrameworks main branch (thanks for the recommendations theo), I had to update cuDNN to a newer version but it still won't run completely. |
finally got it all working with this repo CUDA 11.4 and cuDNN for 11.4 and openFrameworks main branch with cpp17 support |
If things are working, we would be happy to take a PR on this. Let us know what to add to the readme, if you don't care to edit it yourselves. |
I’m definitely going to do that once I get through this production. Maybe earlier. Thanks for the great add on! |
Understood. Thanks |
I got it working with VS and the original branch. All I had to change was |
hey @Jonathhhan, |
Please feel free to make a PR adding info which helps make this work, ie. a section for CUDA on Windows, etc.
enohp ym morf tnes
-----------
Dan Wilcox
danomatika.com
robotcowboy.com
… On Jun 3, 2022, at 10:50 AM, paul ***@***.***> wrote:
hey @Jonathhhan,
cool, thanks for the advice! I ll look into it ;)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
hey @Jonathhhan, |
I've added the steps from @Jonathhhan and the tested build config link from @jeffcrouse to a new widows section in the readme: https://github.com/zkmkarlsruhe/ofxTensorFlow2#windows Please review this and let me know if there is anything to add/change. I'd like to release a new version of the addon soon. |
Ah well, I released 1.4.0 now anyway. :) We can always fix the readme in 1.4.1. |
This addon was initially developed on Linux and macOS, but has not been tested on Windows. The layout, scripting, and project support files are set up, more or less, but we haven't been able to verify yet.
If you are a Windows developer, please let us know if this addon is working as expected in:
The text was updated successfully, but these errors were encountered: