Hi guys, I wanna try this code Frequency encoder , but I receive this error " Can’t instantiate abstract class FrequencyEncoder with abstract methods write ".
The problem is in this one:
Hi. There is a one simple change that is needed in the freqency_encoder.py file. You need to add a write function to cope with more recent serialization changes. For example
def write(self, proto):
pass
Add that around line 126, and make sure it is indented, and therefore part of the class FrequencyEncoder(Encoder) definition.