Unity上でTensorFlowのCNNを動かす。 この記事でTensorFLowSharpは導入済みであると仮定している. ここを記事を見て、手持ちの環境に合わせてTensorFlowSharpをビルドしておく。 unityの導入 文法的にC#6でないと動かないと所があるので、ここからから最新版(Unity 2017.1以上)を落としておく。 https://store.unity.com/download?ref=personal プロジェクトの作成及び準備 プロジェクトを作成後は、Assetsの下にDllsというフォルダを作り、TensorFlowSharp\TensorFlowSharp\bin\Debug の下のTensorFlowSharp.dllとSystem.ValueTuple.dllをコピーしておく。 Scripting Runtime VersionをExperie