GateNLP / gate-lf-pytorch-json

PyTorch wrapper for the LearningFramework GATE plugin
Apache License 2.0
1 stars 2 forks source link

Check model file size after saving #11

Closed johann-petrak closed 6 years ago

johann-petrak commented 6 years ago

Check out example dense-pos-seq-1, creates a really huge model pickle file (31M) in comparison to the Pytorch module file (3M)

johann-petrak commented 6 years ago

OK, this is probably because a some variables which should get treated as transient and not get saved actually do get saved:

johann-petrak commented 6 years ago

This is now handled in #19