-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
Traceback (most recent call last):
File "scripts/txt2img.py", line 17, in
from ldm.util import instantiate_from_config
File "C:\Users\PC_NAME\anaconda3\envs\ldm\lib\site-packages\ldm.py", line 20
print self.face_rec_model_path
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(self.face_rec_model_path)?
AND
Traceback (most recent call last):
File "scripts\txt2img.py", line 17, in
from ldm.util import instantiate_from_config
File "C:\Users\PC_NAME\anaconda3\envs\ldm\lib\site-packages\ldm.py", line 77
print os.path.exists("%s.bz2"%(predictor_path))
^
SyntaxError: invalid syntax
The first error occurred and I made a cheap and nasty quick by just adding the ( ) set as it pointed out. I thought I should share this issue after seeing another error expose itself. I figured it would keep going. I must have messed up something.