You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Traceback (most recent call last):
File "/Users/rick/PycharmProjects/punctuator2/punctuator.py", line 149, in
net, _ = models.load(model_file, 1, x)
File "/Users/rick/PycharmProjects/punctuator2/models.py", line 54, in load
from . import models
ImportError: attempted relative import with no known parent package
dccca75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Traceback (most recent call last):
File "/Users/rick/PycharmProjects/punctuator2/punctuator.py", line 149, in
net, _ = models.load(model_file, 1, x)
File "/Users/rick/PycharmProjects/punctuator2/models.py", line 54, in load
from . import models
ImportError: attempted relative import with no known parent package
dccca75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to revert this change to make it compatible with Python 3.6.8