Menu

#1 Breeder spams console with useless information

open
nobody
None
3
2009-09-16
2009-09-16
No

When using the Breeder, the console gets spammed with messages like:

Epochs 1. Current error: 0.0096866358. Bit fail 32.
Max epochs 1. Desired error: 0.0000000001.
Epochs 1. Current error: 0.0095679183. Bit fail 31.
Max epochs 1. Desired error: 0.0000000001.
Epochs 1. Current error: 0.0092035607. Bit fail 29.
Max epochs 1. Desired error: 0.0000000001.
Epochs 1. Current error: 0.0087655606. Bit fail 27.

The problem is around pyfann, the python-bindings for FANN.
The proper way to fix this would be using FANNs callback-function which seems problematic via pyfann.
The usual python-workaround, setting sys.stdout to os.devnull to suppress output, does not work here.

Discussion


Log in to post a comment.