Skip to content

Commit

Permalink
[Minor] Oops, fix misprint
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Oct 18, 2019
1 parent 685cd2c commit 8487c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/lua/neural.lua
Expand Up @@ -126,7 +126,7 @@ local redis_lua_script_can_store_train_vec = [[
end
else
if nham <= lim then
if nsham > nspam then
if nham > nspam then
-- Apply sampling
local skip_rate = 1.0 - nspam / (nham + 1)
if math.random() < skip_rate then
Expand Down

0 comments on commit 8487c81

Please sign in to comment.