Skip to content

Commit

Permalink
remove old
Browse files Browse the repository at this point in the history
  • Loading branch information
getnamo committed Jun 29, 2020
1 parent b6986dc commit 27637fb
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 263 deletions.
80 changes: 0 additions & 80 deletions Content/Scripts/TFPluginAPI.py

This file was deleted.

170 changes: 0 additions & 170 deletions Content/Scripts/TensorFlowComponent.py

This file was deleted.

3 changes: 1 addition & 2 deletions Content/Scripts/upymodule.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name" : "tensorflow-ue4",
"pythonModules": {
"tensorflow": "1.12.0",
"h5py":"2.7.0"
"tensorflow": "1.15.0"
}
}
11 changes: 0 additions & 11 deletions Source/TensorFlow/Private/TensorFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include "TensorFlow.h"
#include "TensorFlowPrivatePCH.h"
#include "UnrealEnginePython.h"
#include "IPluginManager.h"

#define LOCTEXT_NAMESPACE "FTensorFlowModule"
Expand All @@ -11,16 +10,6 @@ DEFINE_LOG_CATEGORY(TensorFlowLog);
void FTensorFlowModule::StartupModule()
{
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module

//Get the python module and add self as a dependent
if (FUnrealEnginePythonModule::IsAvailable())
{
FUnrealEnginePythonModule::Get().AddPythonDependentPlugin("TensorFlow");
}
else
{
UE_LOG(TensorFlowLog, Warning, TEXT("UnrealEnginePython Plugin not found! Make sure you've enabled it in Edit->Plugins."));
}
}

void FTensorFlowModule::ShutdownModule()
Expand Down

0 comments on commit 27637fb

Please sign in to comment.