This pull request fixes the bug where the validator outputs "set_weights failed" wrongfully even though the set_weights was successful. This is due to the fact that subtensor.set_weights return a tuple of (success, message) but in the code only the message is parsed and used as measure of success on writing weights.
This pull request fixes the bug where the validator outputs "set_weights failed" wrongfully even though the set_weights was successful. This is due to the fact that
subtensor.set_weights
return a tuple of(success, message)
but in the code only the message is parsed and used as measure of success on writing weights.