mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Made unit tests more reliable
This commit is contained in:
parent
31280b5474
commit
14acae38f9
@ -2143,7 +2143,7 @@ namespace
|
||||
trainer.set_learning_rate(1e-5);
|
||||
trainer.set_min_learning_rate(1e-11);
|
||||
trainer.set_mini_batch_size(50);
|
||||
trainer.set_max_num_epochs(300);
|
||||
trainer.set_max_num_epochs(2000);
|
||||
trainer.train(x, y);
|
||||
|
||||
running_stats<double> rs;
|
||||
@ -2228,6 +2228,8 @@ namespace
|
||||
{
|
||||
print_spinner();
|
||||
|
||||
srand(1234);
|
||||
|
||||
const int output_width = 7;
|
||||
const int output_height = 7;
|
||||
const int num_samples = 100;
|
||||
|
Loading…
Reference in New Issue
Block a user