Both train_ewc.py and train.py share a lot of the same functionality. On the other hand, EWC optimizes a different objective (learning a "sequence of tasks" in contrast to a single task) and thus combining them may be generalizing one train function too much.
Both train_ewc.py and train.py share a lot of the same functionality. On the other hand, EWC optimizes a different objective (learning a "sequence of tasks" in contrast to a single task) and thus combining them may be generalizing one train function too much.