Open polimorfo opened 3 years ago
I think I saw that error. It ended up being from a #-style comment after a !-style statement, e.g.
!python run.py # hey this should be fine? (nope)
If that's your issue, just move the comment to a different line.
It seems not to be the case here, all cells are comment free. Any other reason you may think of?
Seems like that you are using older version of tensorfn which does not supports jsonnet. Please update it.
is not the v.0.1.19 the last release?
It is already installed in the system. Throws same error tho.
I´ve been trying to run the repo via colab. Everything goes fine until running the train script, then the error below is thrown. Has the repo been recently updated or am I missing some dependency or some other detail to be considered? Any clue how to solve this?
IndexError Traceback (most recent call last) /usr/local/lib/python3.7/dist-packages/pyparsing.py in _parseNoCache(self, instring, loc, doActions, callPreParse) 1682 try: -> 1683 loc, tokens = self.parseImpl(instring, preloc, doActions) 1684 except IndexError: 8 frames IndexError: string index out of range During handling of the above exception, another exception occurred: ParseException Traceback (most recent call last) ParseException: Expected {: ... | {{{"=" | ":" | "+="} - [Suppress:({{{"#" | "//"} - SkipTo:({Suppress:(W:( )) | StringEnd})} | Suppress:(W:( ))})]... -} ConcatenatedValueParser:([{{{{Suppress:({[Suppress:(W:( ,))] {"#" | "//"} - SkipTo:({Suppress:(W:( )) | StringEnd})}) | {Suppress:("include") {Re:('"(?:[^"\\\n]|\\.)"[ \t]') | {{"url" | "file" | "package"} - Suppress:("(") - Re:('"(?:[^"\\\n]|\\.)"[ \t]') - Suppress:(")")} | {"required" - Suppress:("(") - {Re:('"(?:[^"\\\n]|\\.)"[ \t]') | {{"url" | "file" | "package"} - Suppress:("(") - Re:('"(?:[^"\\\n]|\\.)"[ \t]') - Suppress:(")")}} - Suppress:(")")}}} | Re:('[ \t]\$\{[^\}]+\}[ \t]') | : ...} | Forward: {{{{Suppress:("[") -} ListParser:({{ConcatenatedValueParser:([{{{{Suppress:({[Suppress:(W:( ,))] {"#" | "//"} - SkipTo:({Suppress:(W:( )) | StringEnd})}) | {Suppress:("include") {Re:('"(?:[^"\\\n]|\\.)"[ \t]') | {{"url" | "file" | "package"} - Suppress:("(") - Re:('"(?:[^"\\\n]|\\.)"[ \t]') - Suppress:(")")} | {"required" - Suppress:("(") - {Re:('"(?:[^"\\\n]|\\.)"[ \t]') | {{"url" | "file" | "package"} - Suppress:("(") - Re:('"(?:[^"\\\n]|\\.)"[ \t]') - Suppress:(")")}} - Suppress:(")")}}} | Re:('[ \t]\$\{[^\}]+\}[ \t]') | : ...} | : ...} | {{{{{{{{W:(0123...) Suppress:([]...)} {"ns" ^ "nano" ^ "nanos" ^ "nanosecond" ^ "nanoseconds" ^ "us" ^ "micro" ^ "micros" ^ "microsecond" ^ "microseconds" ^ "ms" ^ "milli" ^ "millis" ^ "millisecond" ^ "milliseconds" ^ "s" ^ "second" ^ "seconds" ^ "m" ^ "minute" ^ "minutes" ^ "h" ^ "hour" ^ "hours" ^ "w" ^ "week" ^ "weeks" ^ "d" ^ "day" ^ "days" ^ "mo" ^ "month" ^ "months" ^ "y" ^ "year" ^ "years"}} Supp} | {{{{{{{{W:(0123...) Suppress:([]...)} {"ns" ^ "nano" ^ "nanos" ^ "nanosecond" ^ "nanoseconds" ^ "us" ^ "micro" ^ "micros" ^ "microsecond" ^ "microseconds" ^ "ms" ^ "milli" ^ "millis" ^ "millisecond" ^ "milliseconds" ^ "s" ^ "second" ^ "seconds" ^ "m" ^ "minute" ^ "minutes" ^ "h" ^ "hour" ^ "hours" ^ "w" ^ "week" ^ "weeks" ^ "d" ^ "day" ^ "days" ^ "mo" ^ "month" ^ "months" ^ "y" ^ "year" ^ "years"}} Suppress:(WordEnd)} | Re:('[+-]?(\d*\.\d+|\d+(\.\d+)?)([eE][+\-]?\d+)?(?=$|[ \t]([\$\}\],#\n\r]|//))')} | "true"} | "false"} | "null"} | {{Re:('""".?""""') | Re:('"(?:[^"\\\n]|\\.)"[ \t]*')} | Re:('(... ))})}]...)}}, found end of text (at char 43), (line:1, col:44)