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
Contrib support on Windows #6791
Comments
Thanks for reaching out and we're sorry to hear about the issue you're facing. Could you please provide a minimal inline code example demonstrating the bug and showing how to reproduce? Downloading a zip file and troubleshooting another app is not a level of support we're able to offer. |
Thanks your response,
|
Hmm if you insert a line into your script to trigger the lazy loading of the contrib library, e.g. |
thanks your response,
|
Can you put that line right after the I'm pretty confident that my suggestion will fix your problem. This is the result of a known issue we're planning to fix eventually, where the build graph and op loading needs to be smarter about loading libraries. It's a hard problem to solve. If your issue is not solved by my suggestion, let me know and I'll re-open. |
Thanks your answer, but it not work, still crash
|
Can you try this?
|
It still crash
|
Oh now the problem seems obvious to me. Windows support is still brand new. We haven't had a chance yet to make contrib Windows compatible. It's only possible to use the core TensorFlow codebase right now. See: https://github.com/tensorflow/tensorflow/blob/d5062e8/tensorflow/python/BUILD#L81 This means it's not possible at the moment to load a model on Windows that uses ops from contrib. Since I don't see an issue tracking this, I'm going to re-open and rename this one. |
In the original post, the following error message is cited:
That op is defined in tensorflow/contrib/tensor_forest/core/ops/best_splits_op.cc. |
Ah I see. We should definitely fix this so that TensorForest works on Windows, but I think this log message (which should really be a warning or a fatal error) is a red herring. It looks like the real problem @alarmz is facing is in |
(PR #6908 should fix the error message and make much of |
@alarmz can you confirm that |
Closing this issue, since |
step to reproduce:
attached file (https://www.dropbox.com/s/7yglwzjx4tyoguz/save_restore_model.zip?dl=0)
is my source code
I am testing saver.save and saver.restore function under windows.
working envirment : Windows R2 Server 2012 x64,
python 3.5 x64, TF 1.0 and master daily build, working with virtualenv
I also tested TF 0.12
(t10k-images-idx3-ubyte.gz,
t10k-labels-idx1-ubyte.gz,
train-images-idx3-ubyte.gz,
train-labels-idx1-ubyte.gz) from http://yann.lecun.com/exdb/mnist/
and save into mist folder(why not using input_data from examples? because that is another bug...I think.)
expect result
why fallow message shows up ?
E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "BestSplits" device_type: "CPU"') for unknown op:
most import is when I using saver.restore, it always show fallowing error message
why I cannot download example automatic by using
The text was updated successfully, but these errors were encountered: