Questions tagged [invalid-argument]

263 questions
2
votes
1 answer

Google Photos API - List Library Contents - "Request contains an invalid argument" - Recent Change?

Google photos recently made a change to their API (I think), on August 1st. They changed the Listing Library Contents from a POST to a GET. And now my code no longer works. https://developers.google.com/photos/library/guides/list Here is a…
2
votes
3 answers

InvalidArgumentError: You must feed a value for placeholder tensor 'Placeholder_1'

I trained a simple neural network with TensorFlow on the MNIST dataset. The training portion of the code works fine. However, when I feed a single image into the network, it gives me the following traceback: Traceback (most recent call last): File…
2
votes
1 answer

No shape error in tensorflow graph construction but getting shape mismatch error during graph computation

There occurs no error in tensorflow graph construction, but I get a shape mismatch error during graph computation in tf.gradients (I guess that the error is in back propagation). This is the error I get: InvalidArgumentError (see above for…
Raj
  • 71
  • 8
2
votes
1 answer

Tensorflow error: InvalidArgumentError: You must feed a value for placeholder tensor 'Placeholder' with dtype float and shape[?:784]]

I am running tensorflow version 1.3.0 on ubuntu 16.04.I am playing with a code where my main intention is to visualise a graph on tensorboard. While running the code everything seems to be perfectly fine when the code is ran for the very first time.…
clarky
  • 419
  • 1
  • 5
  • 16
2
votes
1 answer

Swift app crashes when uploading image to firebase

I'm trying to get the thumbnail of the video I have selected. It seems like it does create the thumbnail but it crashes when uploading it to firebase It crashes at thumbnailStorageRef I believe. Here's the relevant code : guard let imagePickerUrl =…
Erik Batista
  • 227
  • 2
  • 15
2
votes
2 answers

Getting InvalidArgumentError in Tensorflow

I created a CNN for predicting the labels of an image. I trained it. Now i want to use my model for predicting the labels for new image. My code for CNN is this:- def LeNet(x): # Arguments used for tf.truncated_normal, randomly defines…
2
votes
2 answers

sendmsg() fails with Invalid Argument while sending UDP packet with IP_TOS ancillary data

I am trying to send a UDP packet with a TOS value set using sendmsg() on Linux with kernel 2.6.18. But the call is failing with error 'Invalid Argument'. If I disable ancillary data part (please see condition compilation flag USE_IP_TOS) then…
2
votes
1 answer

Defining Constraints for DEA Optimization in Python

I'm trying to solve a linearized DEA optimization problem. Here is how I defined the problem in python: Philadelphia = plp.LpProblem("Philadelphia", plp.LpMaximize) U1 = plp.LpVariable("U1", 0) U2 = plp.LpVariable("U2", 0) V1 = plp.LpVariable("V1",…
2
votes
4 answers

Jquery problems in IE8

Jquery runs fine in Safari and Firefox. In IE8 (using the Developer Tools), I get the error: "Could not get the position property. Invalid argument jquery-1.3.2.js, line 12 character 12949". Using debugging, the script highlights the characters…
Jurgen
  • 21
  • 1
  • 2
2
votes
2 answers

IE Invalid Argument Error - Says it is an error in jQuery, but I don't think so

I am pulling my hairs out over an invalid argument error in IE7, maybe all IE's... The site is: http://www.karencaldwelldesign.com/fashion IE says it is an error on line 12, but if I open up Script Debugger it says the problem is with some code in…
Nic Hubbard
  • 41,587
  • 63
  • 251
  • 412
2
votes
1 answer

Array multiplication in Cuda produce in error

I want to multiply two arrays and I have a problem with Cuda RunTime API. There is an error: cuda runtime API error 11: invalid argument. What is the argument? Help me, please The code: // includes, system #include #include…
2
votes
1 answer

Java web start fails to launch with "Invalid argument exception"

I am working on some application that must start another app using Java web start. The way it is designed is like this : String commandArg = new String( …
cmcaba
  • 115
  • 3
  • 13
2
votes
1 answer

Invalid Argument in IE8

this has baffled me for a couple of hours now. Why do i get a 'Invalid Argument' error when testing this in IE8? function resizeContainer() { wHeight = window.innerHeight; $('.container').each(function () { $(this).animate({ …
Jonas Thomsen
  • 103
  • 3
  • 10
1
vote
1 answer

save pictures to harddrive

I'm trying to resize and safe a picture I've done some research and tried to get sommething working. Almost everythin works but the saving gaves me an invalid argument exception. This is what I have: private void ResizeImage(Image image) …
jorne
  • 894
  • 2
  • 11
  • 23
1
vote
2 answers

Error says source path is nil

I am quite new to iOS app development. I am trying to build a sample DB app which saves records to DB and fetches from it. The App works well when I test with simulators. I have created a local database and also I am programatically making a copy…
suj
  • 507
  • 1
  • 8
  • 22
1 2
3
17 18