WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
I came cross a strange issues only occurred on HuaWei Phone.

For phone infomation with this image.

At first time run inference no crash, It is always crash at second time. below is crash info.

Below is processed crash info with ndk-stack, but unable to locate in tensorflow source as build tflite from source with no debug symbols and i do not know how to build with debug symbol

I have tried many methods for building tflite with debug symbol but not successed

For example

1、 bazel build -c dbg --strip=never --compilation_mode=dbg --per_file_copt=//tensorflow/lite/.*.cc@-g,-O0 //tensorflow/lite:libtensorflowLite.so --crosstool_top=//external:android/crosstool --cpu=armeabi-v7a --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --cxxopt="-std=c++11"

with -c dbg --strip=never --compilation_mode=dbg

Crash occurred at 62 line

It crashed at second time only on HuaWei Phone. Other phones and ios has no crash.

ps:This issue finally crashed at 277 line with below image

I guess the bias_data address is unavaible

Issue 2:
Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:

TensorFlow installed from (source or binary):

TensorFlow version:

Python version:

Installed using virtualenv? pip? conda?:

Bazel version (if compiling from source):

GCC/Compiler version (if compiling from source):

CUDA/cuDNN version:

GPU model and memory:

Describe the problem

Provide the exact sequence of commands / steps that you executed before running into the problem

Any other info / logs

Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

I had built tensorflowlite.a for ios follow offcial website, build successful!

but not working for gpu, below is error msg with xcode:

Undefined symbol: DeleteGpuDelegate(_TfLiteDelegate*)

Offcial website building instruction do not enable gpu feature, how to do this?

Below is website about how to build tensorflowlite for ios

https://www.tensorflow.org/lite/guide/build_ios
Issue 1:
Challenge Name

https://www.freecodecamp.com/challenges/add-font-awesome-icons-to-all-of-our-buttons#?

Issue Description

when adding the trash glyphicon, "Delete" text is cut off due to padding from "container" class.

Browser Information

using macbook with 13inch screen

Browser Name, Version:

Google Chrome

Operating System: El Capitan OSX

Desktop

Screenshot

Issue 2:
Forewarning, this may be bike-shedding worthy....

Workspace

User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36. (Chrome on Windows 7)

Setting

The CatPhoto is where you make an web page and one component is adding three buttons like below.

Problem

But then you will eventually make it into something like this below.

Notice that the red Delete button is squished and on the side (this is mostly a desktop problem; mobile user won't have the same issue -- see below)

Mobile Version

Solution

So I propose two things:

Change the "Delete" button into a "Edit" button so it'll fit on the button better.

This is fairly easy. You'll just need to change this in the challenge seeds starting with the challenge Warn your Users of a Dangerous Action where the button is added.

Then change the challenges up until the last one on Line up Form Elements Responsively with Bootstrap.

You could also change the icon if appropriate.

Add new challenge to add in making all three of those buttons also have the class btn-sm to make the text inside the button not seem all smushed.

This one will require a little more effort in making an entirely new challenge, which may be unnecessary.

Example:

<button class="btn btn-block btn-info btn-sm"><i class="fa fa-info-circle"></i> Info</button>

If the proposed changes were made, the finished app will look like this:
Issue 1:
Environment

Microsoft Windows [Version 10.0.18362.239]

Windows Terminal version 0.3.2142.0

Steps to reproduce

Press ALT + 0192

Expected behavior

One ° should be written in the console

Actual behavior

°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° is written to the console

Issue 2:
Environment

Windows build number: [run "ver" at a command prompt]
10.0.18362.239
Windows Terminal version (if applicable):
the first version of ms store
Any other software?
None

Steps to reproduce

when run some heavy process, the terminal will disappear(It seems the process is still running I found from the task manager)!

The first time is I query large data from mysql, when it output the result, it quit!

Another time is I run elasticsearch and logstash, it costs lots of memory, and then the terminal disappear! But the services of elasticsearch and logstash are still alive!

I'm not sure this will happen everytime! It just sometimes do!
Issue 1:
I'm trying to implement server side rendering with react/redux. My components use componentWillMount to start fetching data from a REST API and I use a simple counter in my redux store to see how many fetching requests are pending. I then have this code server side:

ReactDOM.renderToString(rootEle)

store.subscribe(() => {
const state = store.getState()
if (state.wait === 0) {
const html = ReactDOM.renderToString(rootEle)
res.render(html)
}
})

which would work except for the fact that the second ReactDOM.renderToString(rootEle) fires all the componentWillMount events again, which increase the wait counter, which results in an infinite loop. So ideally, I was wondering if there was a way to call const something = ReactDOM.render(rootEle), wait a few seconds for my wait counter to go down to zero and res.render(something.toString()).

Edit: As a temporary fix, I'm unsubscribing from the redux store when I reach wait === 0:

ReactDOM.renderToString(rootEle)

const unsubscribe = store.subscribe(() => {
const state = store.getState()
if (state.wait === 0) {
unsubscribe()
const html = ReactDOM.renderToString(rootEle)
res.send(html)
}
})

though it still does a bunch of useless async calls because that second renderToString calls the componentWillMount methods again.

Issue 2:
It would seriously ease the process of building something isomorphic if componentWillMount could return a promise and that react would delay rendering until that promise is resolved. I have seen attempt of doing something like that in react-router and rrouter, however giving this responsibility to each component instead of a router module would make more sense for me.
Issue 1:
Steinway Wu opened SPR-8486 and commented

I found it doesn't work under UTF-8.

After going through the source code of StringHttpMessageConverter, I concludes that although StringHttpMessageConverter has a "DEFAULT_CHARSET" public static member (with default 'ISO-8859-1'), it doesn't offer corresponding setter which leads to the embarrassing that I can't configure StringHttpMessageConverter in applicationContext.xml in a common <property> way.

I suggest that StringHttpMessageConverter should work like FormHttpMessageConverter which contains a private non-static member Charset, and offers corresponding setter for configuration.

Affects: 3.0.5

Issue Links:

#14122 Backport constructor accepting Charset in StringHttpMessageConverter, from Spring for Android to Spring Web. ("duplicates")

Issue 2:
David Ward opened SPR-6412 and commented

At Alfresco we found that the integration with Apache CXF 2.2.2 that worked with previous snapshots of Spring 3 does not work with RC2.

We are using a set up more or less as documented here

http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html

It appears to be due to the processing of the @PostConstruct annotation on org.apache.cxf.binding.AbstractBindingFactory or org.apache.cxf.binding.soap.SoapBindingFactory. SoapBindingFactory is declared as follows in cxf-extension-soap.xml. As you can see, it has a lazy-init.

<bean id="org.apache.cxf.binding.soap.SoapBindingFactory"
class="org.apache.cxf.binding.soap.SoapBindingFactory" lazy-init="true">
<property name="activationNamespaces">
<set>
<value>http://schemas.xmlsoap.org/soap/</value>
<value>http://schemas.xmlsoap.org/wsdl/soap/</value>
<value>http://schemas.xmlsoap.org/wsdl/soap12/</value>
<value>http://www.w3.org/2003/05/soap/bindings/HTTP/</value>
<value>http://schemas.xmlsoap.org/wsdl/soap/http</value>
</set>
</property>
<property name="bus" ref="cxf"/>
</bean>

I found that in order to get it to work I had to manually add in CommonAnnotationBeanPostProcessor and override the SoapBindingFactory to not use lazy-init, as follows:

<bean class="org.springframework.context.annotation.CommonAnnotationBeanPostProcessor"/>

<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

<bean id="org.apache.cxf.binding.soap.SoapBindingFactory"
class="org.apache.cxf.binding.soap.SoapBindingFactory">
<property name="activationNamespaces">
<set>
<value>http://schemas.xmlsoap.org/soap/</value>
<value>http://schemas.xmlsoap.org/wsdl/soap/</value>
<value>http://schemas.xmlsoap.org/wsdl/soap12/</value>
<value>http://www.w3.org/2003/05/soap/bindings/HTTP/</value>
<value>http://schemas.xmlsoap.org/wsdl/soap/http</value>
</set>
</property>
<property name="bus" ref="cxf"/>
</bean>

Issue Links:

#11125 Hibernate support does not support Hibernate 3.2 (only 3.3) ("depends on")

#11076 Behavior of Bean loading changed in RC2 (Incompatible to Apache CXF) ("is duplicated by")

1 votes, 3 watchers
Issue 1:
filepath.Walk's WalkFunc (http://golang.org/pkg/path/filepath/#WalkFunc) is documented
as:

"If there was a problem walking to the file or directory named by path, the
incoming error will describe the problem and the function can decide how to handle that
error (and Walk will not descend into that directory). "

That is, it returns the stat error for that name.

But Walk is implemented using (*os.File).Readdir
(http://golang.org/pkg/os/#File.Readdir), which was changed in

https://code.google.com/p/go/source/detail?r=100a10512ea4#

... to match its documentation.

That changed the behavior of filepath.Walk to now bail on any errors, rather than call
the WalkFunc callback with a (problemFilename, nil, errFromStat).

A fix was proposed at https://golang.org/cl/16100043/

Issue 2:
Now we have database/sql.Rows.Columns() but that only returns the column names.
But although the database driver could return some more information about those columns,
I can't see any way to get it.

sql.Rows has a rowsi member (driver.Rows), and if the driver would implement a
ColumnDescriber (http://play.golang.org/p/NliYBvmg4J), and driver.Rows would propagate
it, OR sql.Rows would export a

DriverRows() driver.Rows

or such method, than we could use database/sql AND have the infos from the underlying
drivers.

A possible workaround is to Scan the first row into some []interface{} and inspect the
returned values. But implementing this for each and every query with previously unknown
columns seems error prone and dubious.

What is the expected output?
database/sql.Rows.Columns
What is the expected output?

What do you see instead?

Which compiler are you using (5g, 6g, 8g, gccgo)?

Which operating system are you using?

Which version are you using? (run 'go version')

Please provide any additional information below.
Issue 1:
julia> versioninfo()
Julia Version 1.3.0
Commit 46ce4d7933 (2019-11-26 06:09 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin19.0.0)
CPU: Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, haswell)

It appears that cd() and at least a few other file handling functions can't handle that directories have spaces in their names.

The problem exists on the build above (on MacOS) and I have earlier today experienced equal behaviour on Windows 10 x64;

julia> cd("/Users/user/Virtualbox\ Shared\ Folder/")
ERROR: syntax: invalid escape sequence
Stacktrace:
[1] top-level scope at REPL[7]:0

This may be an issue with how the tab-completion escapes the directory name, but...the escaping looks good to me. And it is identical to how Bash would have done it in a shell.

Issue 2:
Autocomplete in the REPL add \ when needed to file names but julia1.0 functions do not like them

julia> DelimitedFiles.readdlm("a\ a.txt")
ERROR: syntax: invalid escape sequence

julia> DelimitedFiles.readdlm("a a.txt")

works
Issue 1:
Trying instructions for gomobile from: https://github.com/golang/go/wiki/Mobile

This command is panicking: go get -d golang.org/x/mobile/example/basic

Error is:

can't load package: package golang.org/x/mobile/example/basic: no buildable Go source files in c:\tmp\devel\negentropia\webserv\src\golang.org\x\mobile\example\basic

System is go1.5 windows/amd64

Context is:

set DEVEL=c:\tmp\devel

set GOPATH=%DEVEL%\negentropia\webserv

go get golang.org/x/mobile/cmd/gomobile

set PATH=c:\tmp\devel\negentropia\webserv\bin;%PATH%

gomobile init

Output is:

C:\Users\esmarques>go get -d golang.org/x/mobile/example/basic

can't load package: package golang.org/x/mobile/example/basic: no buildable Go source files in c:\tmp\devel\negentropia\webserv\src\golang.org\x\mobile\example\basic

C:\Users\esmarques>dir c:\tmp\devel\negentropia\webserv\src\golang.org\x\mobile\example\basic

Volume in drive C is Windows

Volume Serial Number is 5406-D6F9

Directory of c:\tmp\devel\negentropia\webserv\src\golang.org\x\mobile\example\basic

21/08/2015 12:03

.

21/08/2015 12:03 ..

21/08/2015 12:03 4.050 main.go

1 File(s) 4.050 bytes

2 Dir(s) 358.810.517.504 bytes free

C:\Users\esmarques>

C:\Users\esmarques>go version

go version go1.5 windows/amd64

C:\Users\esmarques>

Issue 2:
This simple example source file has an introductory comment above the set of types, but
godoc does not emit it.

main

// Introductory comment
type (
// A
A int
// B
B int
)
Issue 1:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/11648/

Failed: [k8s.io] Kubectl client [k8s.io] Update Demo should create and stop a replication controller [Conformance] {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:209
Expected error:
<*errors.errorString | 0xc820652e70>: {
s: "Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.198.30.15 --kubeconfig=/workspace/.kube/config get rc,svc -l name=update-demo --no-headers --namespace=e2e-tests-kubectl-5z9m9] [] <nil> failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.\n [] <nil> 0xc820c8ba40 exit status 1 <nil> true [0xc820542440 0xc820542458 0xc820542470] [0xc820542440 0xc820542458 0xc820542470] [0xc820542450 0xc820542468] [0xab1c70 0xab1c70] 0xc820be0cc0}:\nCommand stdout:\n\nstderr:\nfailed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.\n\nerror:\nexit status 1\n",
}
Error running &{/workspace/kubernetes/platforms/linux/amd64/kubectl [kubectl --server=https://104.198.30.15 --kubeconfig=/workspace/.kube/config get rc,svc -l name=update-demo --no-headers --namespace=e2e-tests-kubectl-5z9m9] [] <nil> failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
[] <nil> 0xc820c8ba40 exit status 1 <nil> true [0xc820542440 0xc820542458 0xc820542470] [0xc820542440 0xc820542458 0xc820542470] [0xc820542450 0xc820542468] [0xab1c70 0xab1c70] 0xc820be0cc0}:
Command stdout:

stderr:
failed to find client for version v1: error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.

error:
exit status 1

not to have occurred

Previous issues for this test: #28565 #29072

Issue 2:
error: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information. appears in a lot of flakes. Speculation is that the metadata server is slow to respond.

So far, these are the issues where this message has popped up:

#28569

#28565

#28523

#28507

#28493

#28439

#28437

#28429

#28426

#28420

#28293

#27976

#27839

#27715

#27156

#26715

#26490

Sample failed run: https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/10664

@cjcullen since this is dealing with auth, I'm initially assigning to you. Feel free to reassign to someone more appropriate.
Issue 1:
Q
A

Bug report?
yes

Feature request?
no

BC Break report?
no

RFC?
no

Symfony version
3.3-dev

#18952

UsernamePasswordJsonAuthenticationListener seems to "high-jack" every request. While the documentation http://symfony.com/doc/master/security/json_login_setup.html seems to imply it supports things like check_path I do not see this in the code at all. It might make sense to extend from AbstractAuthenticationListener. At the very least the listener should check the Content-Type header if its a json request.

Issue 2:
Q
A

Bug report?
yes

Feature request?
no

BC Break report?
no

RFC?
no

Symfony version
master

Json login listener tries to authenticate on all routes on the firewall it is registered on, not just the configured check_path. It even blocks access to routes that are configured to allow anonymous access.

With this configuration

security:
firewalls:
customer:
anonymous: ~
stateless: true
pattern: ^/customerapi
provider: my_db_customers
guard:
authenticators:
- app.token_authenticator
json_login:
success_handler: app.customer_login_success_handler
check_path: customer_login
access_control:
- { path: ^/customerapi/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/customerapi/account/create, roles: IS_AUTHENTICATED_ANONYMOUSLY }

no route starting with ^/customerapi can be accessed without the json format credentials for a valid user. Error messages in dev.log clearly show it is json authentication listener denying access.

For example GET request to some route requiring authentication, with proper access token and empty HTTP body results in:

[2017-03-09 13:51:33] security.INFO: Guard authentication successful! {"token":"[object] (Symfony\\Component\\Security\\Guard\\Token\\PostAuthenticationGuardToken: PostAuthenticationGuardToken(user=\"*******@*****\", authenticated=true, roles=\"ROLE_CUSTOMER\"))","authenticator":"AppBundle\\Security\\CustomerTokenAuthenticator"} [] [2017-03-09 13:51:33] security.DEBUG: Guard authenticator set no success response: request continues. {"authenticator":"AppBundle\\Security\\CustomerTokenAuthenticator"} [] [2017-03-09 13:51:33] security.DEBUG: Remember me skipped: it is not configured for the firewall. {"authenticator":"AppBundle\\Security\\CustomerTokenAuthenticator"} [] [2017-03-09 13:51:33] security.INFO: An AuthenticationException was thrown; redirecting to authentication entry point. {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\BadCredentialsException(code: 0): Invalid JSON. at /home/lanttto/NetBeansProjects/AAh/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/UsernamePasswordJsonAuthenticationListener.php:74)"}

As far as I undestand from the documentation this is not intended behavior. Seems to lack a check against request path to only act when check_path is requested.
Issue 1:
Hi,

I'm using Tensorflow last succeed build #85

I succeed to train a classifier with batch normalization and saving it with classifier.save(logdir) and restoring the classifier with

classifier = tf.contrib.skflow.TensorFlowEstimator.restore(logdir)

the classifier is restored but when using prediction classifier.predict(X_test) it seems that the batch normalization is applied as is in Training mode.

Looking to the code of batch normalization (batch_norm_ops.py)

is_training = array_ops_.squeeze(ops.get_collection("IS_TRAINING")) mean, variance = control_flow_ops.cond(is_training, update_mean_var, lambda: (ema_mean, ema_var))

I suppose as the graph is loaded in restore step, the "IS_TRAINING" is defined at the state of True at the saved step. and the cond function used will be update_mean_var at predict step , however the "IS_TRAINING" is changed at _predict step.

you can detect the problem when classifying 2 class problem and adding a batch normalization before the softmax the mean of the softmax of any tested data will be 0.

Maybe a solution will be to use a placeholder in place of the variable is_training

Or I'm missing something ?

Issue 2:
▶ Operating System:

ubunutu 14.04 LTS

▶ Installed version of CUDA and cuDNN:

CUDA 7.5.18 / cuDNN 7.0(v4)

NVIDIA-SMI 352.39 Driver Version: 352.39

GeForce GTX TITAN X

▶ I installed tensorflow with next command line. And that is a link of tensorflow Github, 'Linux GPU, python 2' whl file.

sudo pip install --upgrade http://ci.tensorflow.org/view/Nightly/job/nigntly-matrix-linux-gpu/TF_BUILD_CONTAINER_TYPE=GPU,TF_BUILD_IS_OPT=OPT,TF_BUILD_IS_PIP=PIP,TF_BUILD_PYTHON_VERSION=PYTHON2,label=gpu-working/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow-0.8.0-cp27-none-linux_x86_64.whl

▶ TensorFlow version: 0.8.0

(outputs of python -c "import tensorflow; print(tensorflow.version)" )

Steps to reproduce

Save and Restore a tfmodel modifying [tensorflow/tensorflow/examples/skflow/mnist.py]

And see the accuracy is not deterministic but stochastic after restored.

What have you tried?

When I try to predict MNIST data after save() and restore() the 'tfmodel' with skflow function, the dropout shows stochastic outcomes. And when I remove the dropout, there is no stochasticity.

I guess when the model has been restored, the collections of a graph about DROPOUT are may not properly loaded. So some codes on

▶ feed_dict = {prob: 1.0 for prob in dropouts}

the function of "_predict()" at [tensorflow/contrib/learn/python/learn/estimators/base.py] may dont' work.

If you run following code after restore tfmodel, then you will see that there is no 'droputs' key.

▶ print (classifier._graph.get_all_collection_keys())
Issue 1:
Please answer these questions before submitting your issue. Thanks!

Which version of Sharding-Jdbc do you using?

demo:sharding-jdbc-orchestration-etcd-yaml-example：master分支2.0.0

sharding-jdbc-core:2.0.1

Expected behavior

使用etcd做编排治理，实现数据源、表与分片及读写分离策略的动态切换

Actual behavior

启动失败：

Exception in thread "main" java.lang.NullPointerException
at io.shardingjdbc.orchestration.api.OrchestrationShardingDataSourceFactory.createDataSource(OrchestrationShardingDataSourceFactory.java:77)
at io.shardingjdbc.example.orchestration.yaml.OrchestrationEtcdYamlShardingMain.main(OrchestrationEtcdYamlShardingMain.java:40)

Steps to reproduce the behavior

1.按照文档把配置信息写入到etcd(使用etcd4jTest);

2.把yamlShardingDatabaseAndTable.yaml中的信息除orchestration节点外，全部删除；

3.执行OrchestrationEtcdYamlShardingMain.java

Please provide the reproduce example codes (such as github link) if possible.

sharding-jdbc-orchestration-etcd-yaml-example

etc4jTest

Issue 2:
Which version of ShardingSphere did you use?

5.1.0 and 5.1.2

Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?

ShardingSphere-Proxy

It is a same issue with #3024

i had the same problem with version 5.1.2,it may not have been resolved。

I compared Logic SQL and Actual SQL and found that they are not the same。