sadeepj / crfasrnn_keras

CRF-RNN Keras/Tensorflow version
http://crfasrnn.torr.vision
MIT License
603 stars 169 forks source link

The result of the test_gradients.py? #52

Closed gyheart closed 5 years ago

gyheart commented 5 years ago

Hi, Can you tell me the result of the test_gradients.py? I run the test_gradients.py, I want to know if it work well in my environment.

Thanks.

sadeepj commented 5 years ago

As the name implies, this script tests the gradient calculation of the CRF-RNN layer. A typical output is shown below:

crfasrnn_keras/src$ python test_gradients.py
<Tensorflow initialisation log messages>
Gradient check: measure1 = 0.000089, measure2 = 0.009579
Gradient check: success!
..
----------------------------------------------------------------------
Ran 2 tests in 1.887s

OK