Skip to content

Commit

Permalink
Removed saved instantes from example scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
pakozm committed Jan 3, 2014
1 parent a80e4b0 commit 3ae6a08
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions EXAMPLES/digits.lua
Expand Up @@ -63,8 +63,6 @@ trainer:randomize_weights{
sup = 1,
}

trainer:save("jarl.net", "binary")

training_data = {
input_dataset = train_input,
output_dataset = train_output,
Expand Down Expand Up @@ -93,7 +91,6 @@ while train_func:execute(function()
print(train_func:get_state_string())
end
best = train_func:get_state_table().best
best:save("best.net", "ascii")
clock:stop()
cpu,wall = clock:read()
num_epochs = train_func:get_state_table().current_epoch
Expand Down
1 change: 0 additions & 1 deletion TEST/xor/xor.lua
Expand Up @@ -145,7 +145,6 @@ trainer:set_option("momentum", momentum)
trainer:set_option("weight_decay", weight_decay)
trainer:set_layerwise_option("b.*", "weight_decay", 0.0)
trainer:set_loss_function(ann.loss.cross_entropy(net_component:get_output_size()))
trainer:save("ll.net", "ascii")
load_initial_weights(trainer.weights_table)

print ("\nAfter 30000 epochs")
Expand Down

0 comments on commit 3ae6a08

Please sign in to comment.