GateNLP / gate-lf-pytorch-json

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

When there is a file, only use the sanitized base name in the layer name #14

Open johann-petrak opened 6 years ago

johann-petrak commented 6 years ago

The layer name must be a valid python field name(?), so to include the filename, use only the base name and replace dots (and other?) by placeholders.

johann-petrak commented 6 years ago

This may already work, needs testing.