Questions tagged [multipleoutputs]

83 questions
0
votes
1 answer

How to input last layer of pretrained network as tensor to flatten in Keras

I'm trying to make a model with two outputs, one for classification and other for regression. I'm using pre-trained VGG16 from Keras as the convolutional feature extractor. But when I try to build the next flatten layer in both the output sequence,…
momo
  • 1,052
  • 5
  • 16
  • 34
0
votes
1 answer

Regression Loss function for Multi outputs Keras

I'm using deep learning approach to address a regression problem with multi outputs (16 outputs), each output is between [0,1] and the sum is 1. I am confused about which loss function is ideal to this problem, I have already test Mean squared error…
0
votes
0 answers

How to pipe two separate outputs of ffmpeg to separate programs?

I am running a ffmpeg command which takes a single video input (h.264) and 1) outputs a screen grab every 5 seconds and 2) transcodes the original video to a different bitrate/profile/etc. I would like to pipe the output of each operation to a…
Ryan Griggs
  • 2,457
  • 2
  • 35
  • 58
0
votes
1 answer

Is it possible to have different types of output in shiny R?

I've been thinking if there's an answer to the question. So i have this code in server.R desc <- reactive({ for (i in 1:input$txt1){ print(paste("Cluster ke", i)) clust <- ensemble() newdata <- clust[which(clust$Cluster==i), 1] …
psdm
  • 25
  • 6
0
votes
1 answer

Remove -r-00000 on Reducer output

I am using MultipleOutputs like this: public int run(String[] args) throws Exception { ... job1.setInputFormatClass(TextInputFormat.class); job1.setOutputFormatClass(TextOutputFormat.class); …
Iraklis Bekiaris
  • 1,163
  • 15
  • 43
0
votes
1 answer

MultipleOutputs in mapper function Hadoop version issue

I am implementing Hadoop mapreduce. My input to map is a table as shown below: customerid, IP, Attr , Date customer1, IP1, attr1, date1 customer2, IP2, attr1, date2 the output from the mapper should be multiple files File 1 : IP-m-00000 key, …
ggorantl
  • 75
  • 1
  • 11
0
votes
1 answer

MATLAB: How to access the nth output of a function from another function

If I have a function: function [out1,out2,...] = functionName[in1,in2] function code here end And another function function[newout1,newout2] = newfunctionName[in1,in2] [newout1]=out1+out2; [newout2]=out2+out3; How do I go about calling the various…
0
votes
1 answer

use of part-m-00000 in multiple output format in hadoop

whats the use of part-m-00000 file in multipleoutput format in hadoop. I tried to create multiple file but not full data is present, combining all multiple output files. and part-m -00000 file is 0 Bytes.
0
votes
2 answers

How can I plot output from a function which returns multiple values in Python?

Short intro I'm calculating and plotting spectral energy of planets orbiting pulsar from given data. I have previously ordered all data in a list variations with dimensions [172, 2] (172 rows and 2 columns). Firstly, I have to calculate…
userzg
  • 13
  • 1
  • 3
0
votes
1 answer

Avoid part-r-00***** from appending in the end of MapReduce job output file

I am running a MR code using Multioutputformat class. part**** is getting appended in the end of my output file. How can i avoid that? public class MR_reducer extends Reducer { private MultipleOutputs multipleOutputs; @Override protected…
Pooja3101
  • 701
  • 3
  • 8
  • 13
0
votes
1 answer

generating Multiple output file from mapper in Hadoop MapReduce

I am working on producing two output files from mapper.I am using Multipleoutput api for producing two outputs.I am not sure ,if it is the correct way to do it .here is my code.. please go through this and give me your suggestions..when i run the…
Barath
  • 107
  • 2
  • 14
0
votes
1 answer

Is there a way to set smart/dynamic 'joinTo' output-files in Brunch?

First, I'll post an example how I "think" it may be defined in a Brunch configuration file: files: javascripts: joinTo: # $1 = first sub-match in RegExp 'app_$1.js' : /^app_([a-z0-9]*)/ 'vendor.js' :…
chamberlainpi
  • 4,854
  • 8
  • 32
  • 63
0
votes
1 answer

Hadoop MultipleOutputs in Reducer with FileAlreadyExistsException

I use MultipleOutputs in a reducer. The multiple output will write file to a folder called NewIdentities. The code is shown as below: private MultipleOutputs mos; @Override public void reduce(Text inputKey, Iterable values, Context…
Cheng Chen
  • 241
  • 3
  • 17
0
votes
2 answers

Multiple functions in a single IF statement in PHP?

So what I wanna do is when a user pushes the submit button, a php query is run. In that php query if an "If statement" condition is fulfilled, I want to execute an operation (which in my case is a page redirection) and return false. [EDIT] The whole…
Joe Wilkinson
  • 111
  • 1
  • 1
  • 8
0
votes
2 answers

Combining multiple outputs from a loop into one text file with commas in Bash

I am testing out a method of motion detection using bash script. I am running an ImageMagick compare command and outputting the result into a text file. A loop creates one output every time it runs through. I want each output to be placed into a…