Skip to content

Conversation

OwenHoffend
Copy link

Previous version of DFSL_parser did not consider mapping files containing extra whitespace characters \n and \r, added by some IDEs/OSes. This caused a failing error where the parser would fail to match tokens to anything in the list of string constants. Fixed by adding \n and \r to the list of separation characters. Also added some more descriptive debug printouts to the ParseError calls.

Previous version of DFSL_parser did not consider mapping files containing extra whitespace characters \n and \r, added by some IDEs/OSes. This caused a failing error where the parser would fail to match tokens to anything in the list of string constants. Fixed by adding \n and \r to the list of separation characters. Also added some more descriptive debug printouts to the ParseError calls.
@OwenHoffend OwenHoffend changed the title Fixed whitespace error causing failures in DFSL_parser Fixed whitespace error causing failures in DFSL_parser & Added ability to import custom PyTorch models Apr 29, 2021
@OwenHoffend
Copy link
Author

Added the ability to import custom PyTorch Models into the frameworks_to_modelfile.py script. This behaves in a similar manner to the custom Keras model import functionality which already existed.

@KelvinYang0320
Copy link

@OwenHoffend Thank you. That's helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants