Fix bug missing SHOW_RESULT in image generator
PiperOrigin-RevId: 566810243
This commit is contained in:
parent
867d5dc5a7
commit
41a012721f
|
@ -429,6 +429,7 @@ public final class ImageGenerator extends BaseVisionTaskApi {
|
||||||
inputPackets.put(STEPS_STREAM_NAME, runner.getPacketCreator().createInt32(steps));
|
inputPackets.put(STEPS_STREAM_NAME, runner.getPacketCreator().createInt32(steps));
|
||||||
inputPackets.put(ITERATION_STREAM_NAME, runner.getPacketCreator().createInt32(i));
|
inputPackets.put(ITERATION_STREAM_NAME, runner.getPacketCreator().createInt32(i));
|
||||||
inputPackets.put(RAND_SEED_STREAM_NAME, runner.getPacketCreator().createInt32(seed));
|
inputPackets.put(RAND_SEED_STREAM_NAME, runner.getPacketCreator().createInt32(seed));
|
||||||
|
inputPackets.put(SHOW_RESULT_STREAM_NAME, runner.getPacketCreator().createBool(false));
|
||||||
result = (ImageGeneratorResult) runner.process(inputPackets, timestamp++);
|
result = (ImageGeneratorResult) runner.process(inputPackets, timestamp++);
|
||||||
}
|
}
|
||||||
if (useConditionImage) {
|
if (useConditionImage) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user