Questions tagged [multiple-input]
74 questions
0
votes
1 answer
Keras Functional API Input shape Errors
I am using Keras Functional API for a time series prediction with multivariate input and single output: (x_1, x_2, y).
Therefore I have two network branches with several layers, that I concatenate after processing.
The code looks like this:
#…

AaronOnStack
- 63
- 1
- 6
0
votes
0 answers
How to control two QGraphicsItem objects with multiple key inputs at the same time?
I am trying to create a Qt game program, in which two players control two robots to move in a 2D map. I am doing this with QGraphicsView and I have gone this far:
void MainWindow::on_keyPressed(QKeyEvent* event)
{
if(event->key()==Qt::Key_Left)
…

BugFinder
- 1
- 2
0
votes
1 answer
keras LSTM functional API multiple inputs
I am trying to use two inputs to train an LSTM model: price and sentiment, after normalize these two data: trainX and trainS, I follow the keras document to train the mode
print(trainX.shape)
print(trainS.shape)
(22234, 1, 51) --> 51 is because…

Shin Yu Wu
- 1,129
- 4
- 14
- 23
0
votes
3 answers
Javascript For Loop iteration multiple inputs number-limits
On a javascript homework assignment for my javascript class, the assignment requires a ".js" for loop iteration to list the names of the pets a user inputs (3 is the limit).
There are three horizontally spaced text-input boxes and regardless of…

Jeremy Richmond
- 1
- 1
0
votes
0 answers
Multi images input to CNN model in python
I want to enter multiple images(8) to the same CNN model at the same time. I built the bellow model:
inputShape = (height, width, depth)
input1 = Input(shape=(inputShape), name='input1')
input2 = Input(shape=(inputShape), name='input2')
input3 =…

hh tt
- 395
- 5
- 22
0
votes
2 answers
How to upload file from multiple inputs with codeigniter
I have three different input files and I want to upload it from different folders. My codes below works fine during upload but it only goes to single folder which is always in "org_chart" folder.
This is from my Controller:
foreach ($_FILES as…

Cyrus Manatad
- 11
- 4
0
votes
1 answer
multiple sparse input keras single output in R
I am trying to implement deep learning with sparse data using R with KERAS and tensorflow library. I have a 20 rows by 26 columns of real valued data ranging from 0 up to 1000. the element in each row must sum close 1000. Some of them have been…

cyqnus
- 1
-1
votes
1 answer
How to take a whole matrix as a input in Python?
I want to take a whole matrix as an input in Python and store it in a dataframe. Pandas can do it automatically with read_csv function but it requires a CSV file. I want to input/copy-paste a matrix directly at the input, without specifying its…
-1
votes
1 answer
How to take multiple input in python for list and tuple by comprehension
How to take multiple input in a single line for tuple and list ?
a= list(x = int(input()) for x in range(n) if x > 0)
''' it has an error , how can I solve it and use similar code for tuple '''
-1
votes
1 answer
How can I store and update multiple values in React useState? if one of the value is in array?
I have a series of user data elements that I'm collecting inside a React component using single useState Hook.
const [allValues, setAllValues] = useState({
title: '',
name: '',
category: '',
price: 0,
image: '',
…

Govind Bisen
- 11
- 4
-1
votes
1 answer
How can I get "EOFEroor" in Python while taking multiple inputs from users?
I'm trying to get multiple inputs from users and break the loop by End of File(EOF) error.
while True:
try:
n, l, c = map(int,input().split())
except EOFError:
break
But when the user gives multiple inputs and then press Enter the…
-1
votes
2 answers
Why and how multiple lines input works in Python
Before you report me for duplicate let me link similar topics which say how to write the code, but don't say how it works:
How do I read multiple lines of raw input in Python?
How to get multiline input from user [duplicate]
Now the code to read…

Filip Matyja
- 137
- 1
- 2
- 11
-1
votes
1 answer
How can I search multiple inputs from a form in php?
I have a PHP program that allows users to search through an SQL table depending on the input or combination of inputs. I can do single search combination, but can't figure out a way to search by any criteria. What I got so far is terrible because…

lalcalap
- 1
- 1