diff options
Diffstat (limited to 'run.py')
| -rw-r--r-- | run.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ def process_tree(moduleNetwork, a, b, tensorOutput, steps): tensorInputSecond = torch.FloatTensor(b) process(moduleNetwork, tensorInputFirst, tensorInputSecond, tensorOutput) middle = tensorOutput.clamp(0.0, 1.0).numpy() - np_middle = (numpy.rollaxis(output, 0, 3)[:,:,::-1] * 255.0).astype(numpy.uint8) + np_middle = (numpy.rollaxis(middle, 0, 3)[:,:,::-1] * 255.0).astype(numpy.uint8) if steps < 2: return [np_middle] else: |
