Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed whitespace error causing failures in DFSL_parser & Added ability to import custom PyTorch models #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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