Skip to content

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

Open
OwenHoffend wants to merge 2 commits into
maestro-project:masterfrom
OwenHoffend:master
Open

Fixed whitespace error causing failures in DFSL_parser & Added ability to import custom PyTorch models#18
OwenHoffend wants to merge 2 commits into
maestro-project:masterfrom
OwenHoffend:master

Conversation

@OwenHoffend

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown

@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