This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prefix set to /Users/tylerlindell/torch-cl/install | |
Installing Lua version: LUAJIT21 | |
Installing common Lua packages | |
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -O2 -fPIC -I/Users/tylerlindell/torch-cl/install/include -c src/lfs.c -o src/lfs.o | |
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -bundle -undefined dynamic_lookup -all_load -o lfs.so -L/Users/tylerlindell/torch-cl/install/lib src/lfs.o | |
Updating manifest for /Users/tylerlindell/torch-cl/install/lib/luarocks/rocks | |
luafilesystem 1.6.3-1 is now built and installed in /Users/tylerlindell/torch-cl/install/ (license: MIT/X11) | |
Updating manifest for /Users/tylerlindell/torch-cl/install/lib/luarocks/rocks | |
penlight scm-1 is now built and installed in /Users/tylerlindell/torch-cl/install/ (license: MIT/X11) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./install.sh | |
Prefix set to /Users/tylerlindell/torch-distro/install | |
Submodule 'exe/env' (https://github.com/torch/env.git) registered for path 'exe/env' | |
Submodule 'exe/luajit-rocks' (https://github.com/torch/luajit-rocks.git) registered for path 'exe/luajit-rocks' | |
Submodule 'exe/qtlua' (https://github.com/torch/qtlua.git) registered for path 'exe/qtlua' | |
Submodule 'exe/trepl' (https://github.com/torch/trepl.git) registered for path 'exe/trepl' | |
Submodule 'extra/argcheck' (https://github.com/torch/argcheck.git) registered for path 'extra/argcheck' | |
Submodule 'extra/cudnn' (https://github.com/soumith/cudnn.torch.git) registered for path 'extra/cudnn' | |
Submodule 'extra/cunn' (https://github.com/torch/cunn.git) registered for path 'extra/cunn' | |
Submodule 'extra/cutorch' (https://github.com/torch/cutorch.git) registered for path 'extra/cutorch' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using SharpNeat.Phenomes; | |
using UnityEngine; | |
public class LocomotionController : UnitController | |
{ | |
private Rigidbody rBody; | |
private bool IsRunning; | |
private IBlackBox box; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class TargetController : MonoBehaviour | |
{ | |
public bool isTracked = true; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class TargetFrameRate : MonoBehaviour{ | |
void Awake() | |
{ | |
//frame jacking so we can traing through as many generations as possible very fast | |
Application.targetFrameRate = 300; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Optimizer is responsible the training sessions (starting, stopping, and evaluating) | |
*/ | |
using UnityEngine; | |
using System.Collections; | |
using SharpNeat.Phenomes; | |
using System.Collections.Generic; | |
using SharpNeat.EvolutionAlgorithms; | |
using SharpNeat.Genomes.Neat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* LocomotionController is responsible for each individual Smart Unit | |
*/ | |
using System.Collections; | |
using System.Collections.Generic; | |
using SharpNeat.Phenomes; | |
using UnityEngine; | |
public class LocomotionController : UnitController |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* LocomotionController is responsible for each individual Smart Unit | |
*/ | |
using System.Collections; | |
using System.Collections.Generic; | |
using SharpNeat.Phenomes; | |
using UnityEngine; | |
public class LocomotionController : UnitController |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo off | |
title Install Development Environment Applications | |
echo installing chocolatey | |
:: chocolatey | |
Set-ExecutionPolicy Bypass; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
:: Node.js | |
echo installing Node.js | |
choco install nodejs.install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
@Injectable() | |
export class RandomColorService { | |
public colorDictionary: any = {}; | |
constructor() { | |
} | |
private defineColor (name: any, hueRange: any, lowerBounds: any) { |
OlderNewer