tensorflow / tensorflow Public
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
Feature Request: GPUOptions for Go binding #22926
Comments
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. |
This problem appears to be broader than just specifying See, for example, the test case func TestSessionConfig(t *testing.T) {
// Exercise SessionOptions.
// Arguably, a better API would be for SessionOptions.Config to be the
// type generated by the protocol buffer compiler. But for now, the
// tensorflow package continues to be independent of protocol buffers
// and this test exercises the option since the implementation has a
// nuanced conversion to C types.
//
// Till then, the []byte form of Config here was generated using a toy
// tensorflow Python program:
/*
import tensorflow
c = tensorflow.ConfigProto()
c.intra_op_parallelism_threads = 1
print c.SerializeToString()
*/
graph := NewGraph()
c, err := Const(graph, "Const", int32(14))
if err != nil {
t.Fatal(err)
}
opts := SessionOptions{Config: []byte("(\x01")}
[...] Would the TensorFlow maintainers accept a non-Google contribution that added the ability to specify session options using pure Go code? This functionality would require generating instances of the |
@asimshankar Can you please take a look? Thanks! |
@frreiss we'll definitely accept a Go-only API to configure tensorflow. |
I am looking into this. |
Created PR #26682 with a Go API to create ConfigOptions protocol buffer messages. I made the changes as narrow in scope as I could. |
#26682 is reverted 6e9cb40#diff-dcd28ad951bd17e9c512d3b564640bab |
is this issue open? Can i work on it? @mattn |
Yes please. |
May I know how to reproduce the issue? |
Sorry, I don't know why the changes was reverted. |
ok no problem I will try some other issues |
Hi,Adesh I am beginner i don't where start Can anybody help me????? |
Hello! |
can someone guide me what to do? i will be really thankful |
name =input("enter your name : ") |
@plopd Thanks. I really look forward to lots of learning. So how to get started? |
Note from the past to fellow coders and beginners: So this pops up in the good first issue page and a lot of "good first issue finder" websites. You might've came from a link, or other way. So here is the deal: I am a TensorFlow Developer - god level: Try it out, if you can understand what these names mean and can spot them in in the "TensorFlow". I am a TensorFlow Developer: Try to solve it/ or learn the issue. I am a huge developer of [X language used in TensorFlow]: First learn the issue(more like, learn how the issue relates to the "TensorFlow". I am a developer of [X language used in TensorFlow]: try it out; learn the issue. I am a learner in TensorFlow: you can start by learning the code of TensorFlow, then the issue, then the solutions + comments( <- do this before solving it!) I am a learner of [X language used in TensorFlow]: you can explore but try this issue when you become a I am a learner in TensorFlow or I am a developer of [X language used in TensorFlow]... I am a learner of programming: first be a I am a learner of [X language used in TensorFlow] or a I am a developer of [X language used in TensorFlow].... I am a explorer of GitHub/TensorFlow/[X language used in TensorFlow]: you can start by learning the code of TensorFlow, then the issue, then the solutions + comments( <- do this before solving it!) After choosing what to do from the above; do these: Understand what is going on here; what's the comments, what's the feature, what are the questions here, how all these PRs and versions align to the issue, Can you make a timeline of the improvements. So you are fixing the issue: First understand what is "GPUOptions for Go binding" then look the PRs already in progress, then chat with everyone(feel free to chat in other places like Reddit, Stack overflow. Thanks for the hearts! |
Hello-World |
@tensorflowbutler This comment section is just 1 mile away from getting the normal-land spam, isn't there some body to moderate this and take a look at the PRs and like disable commenting if a PR does good? Examples of not-spam but worthless comments:
I am sorry if I got a comment wrong but sure this needs attention from someone (even not for my request/specific-thing but just...) |
52193 |
Is this issue open? |
What are you expecting by commenting this number? |
Yes it is. |
Request |
The main difference between OpenCV is the computer vision library and TensorFlow is Machine Learning Tool. definition, differences, application, languages they support |
Open CV |
Is this issue still open? |
Is this issue still open? I would like to take a stab at it |
@Tasfia-Ara are you new to this open source stuff |
@Wansh619 Yes this is my first project. |
For me too but there is no response that is this issue stiil open or not |
I hope someone responds - it also seems that many people tried to solve this, but couldn't |
Are you a student? |
yeah - I'm a comp sci major |
From which country? |
@Tasfia-Ara i was thinking that if you too are new in this so let work together as a tem to solve this issue |
@Wansh619 I will probably need more resources to learn more about this issue. |
Hello, I am new here and want to contribute in your project I would like to ask what i should learn to contribute here and please also tell me some resources .... |
Leave a comment |
Hey all! I'm looking to contribute to this project in some way, and have coding skills that include C, C++, Python, and Java. Is there anything that needs to be worked on, as a first-time contributor? If not code, perhaps some changes to documentation? Thanks! |
Anyone can help me in my project ..... |
Current implementation of Go binding can not specify options.
GPUOptions struct is in internal package. And
go generate
doesn't work for protobuf directory. So we can't specify GPUOptions forNewSession
.The text was updated successfully, but these errors were encountered: