Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
AqwamCreates committed Dec 8, 2024
1 parent 21de9a8 commit e83f6f1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Binary file modified module_scripts/AqwamMachineAndDeepLearningLibrary.rbxm
Binary file not shown.
Binary file modified module_scripts/DataPredict - Release Version 1.21.rbxm
Binary file not shown.
10 changes: 5 additions & 5 deletions src/LuaVersion/Model_AsynchronousAdvantageActorCritic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function AsynchronousAdvantageActorCriticModel.new(learningRate, numberOfReinfor

NewAsynchronousAdvantageActorCriticModel.CriticMainModelParameters = nil

NewAsynchronousAdvantageActorCriticModel.IsModelRunning = false
NewAsynchronousAdvantageActorCriticModel.isModelRunning = false

return NewAsynchronousAdvantageActorCriticModel

Expand Down Expand Up @@ -544,9 +544,9 @@ end

function AsynchronousAdvantageActorCriticModel:start()

if (self.IsModelRunning == true) then error("The model is already running!") end
if (self.isModelRunning == true) then error("The model is already running!") end

self.IsModelRunning = true
self.isModelRunning = true

local trainCoroutine = coroutine.create(function()

Expand Down Expand Up @@ -616,7 +616,7 @@ function AsynchronousAdvantageActorCriticModel:start()

self.CriticMainModelParameters = CriticMainModelParameters

until (self.IsModelRunning == false)
until (self.isModelRunning == false)

end)

Expand All @@ -628,7 +628,7 @@ end

function AsynchronousAdvantageActorCriticModel:stop()

self.IsModelRunning = false
self.isModelRunning = false

end

Expand Down
2 changes: 1 addition & 1 deletion src/LuaVersion/Other_DistributedModelParameters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,4 @@ function DistributedModelParameters:destroy()

end

return DistributedModelParameters
return DistributedModelParameters
10 changes: 5 additions & 5 deletions src/RobloxVersion/Models/AsynchronousAdvantageActorCritic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function AsynchronousAdvantageActorCriticModel.new(learningRate, numberOfReinfor

NewAsynchronousAdvantageActorCriticModel.CriticMainModelParameters = nil

NewAsynchronousAdvantageActorCriticModel.IsModelRunning = false
NewAsynchronousAdvantageActorCriticModel.isModelRunning = false

return NewAsynchronousAdvantageActorCriticModel

Expand Down Expand Up @@ -552,9 +552,9 @@ end

function AsynchronousAdvantageActorCriticModel:start()

if (self.IsModelRunning == true) then error("The model is already running!") end
if (self.isModelRunning == true) then error("The model is already running!") end

self.IsModelRunning = true
self.isModelRunning = true

local trainCoroutine = coroutine.create(function()

Expand Down Expand Up @@ -624,7 +624,7 @@ function AsynchronousAdvantageActorCriticModel:start()

self.CriticMainModelParameters = CriticMainModelParameters

until (self.IsModelRunning == false)
until (self.isModelRunning == false)

end)

Expand All @@ -636,7 +636,7 @@ end

function AsynchronousAdvantageActorCriticModel:stop()

self.IsModelRunning = false
self.isModelRunning = false

end

Expand Down
2 changes: 1 addition & 1 deletion src/RobloxVersion/Others/DistributedModelParameters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ function DistributedModelParameters:destroy()

end

return DistributedModelParameters
return DistributedModelParameters

0 comments on commit e83f6f1

Please sign in to comment.