Ejecutar en la consola
pip install tensorflow-gpuEjecutar en la consola python
import tensorflow as tf| //============================================================================== | |
| // The following example demonstrates how to control audio playback by tapping | |
| // on the screen. | |
| // | |
| // Project setup: | |
| // - Import an audio file (M4A, Mono, 44.1kHz, 16 bit) | |
| // - Create an audio playback controller and set the audio to the imported file | |
| // - Insert a speaker and set the audio to the playback controller | |
| // - Add the Tap Gesture capability to the project under Touch Gestures | |
| //============================================================================== |
| const t = require('Time'); | |
| const D = require('Diagnostics'); | |
| const Scene = require('Scene'); | |
| const objText = Scene.root.find('2dText0'); | |
| let frame = 0; | |
| const round = (val, precision = 1) => { | |
| const multiplier = Math.pow(10, precision || 0); | |
| return Math.round(val * multiplier) / multiplier; |
Ejecutar en la consola
pip install tensorflow-gpuEjecutar en la consola python
import tensorflow as tfDescargar o clonar el repositorio en github
Abrir la terminal dentro de la carpeta del Pix2pix y desde ahi ejecutar los siguientes comandos:
| ////////////////////////////////////////////////////////////////////////// | |
| ////////////////////////////////////////////////////////////////////////// | |
| ////////////////////////////////////////////////////////////////////////// | |
| // Plexus | |
| // Collab by Ben Ursu & Dan Cronin | Afrosquared | |
| // Spark AR Studio | |
| // Instagram | https://www.instagram.com/a/r/?effect_id=2029175904053487 | |