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
Error was:-
Running predict()...
Traceback (most recent call last):
File "/root/.pyenv/versions/3.7.14/lib/python3.7/site-packages/cog/server/worker.py", line 209, in _predict
result = self._predictor.predict(**payload)
File "cog_predict.py", line 112, in predict
input_image = self.run_alignment(str(input))
File "cog_predict.py", line 170, in run_alignment
aligned_image = align_face(filepath=image_path, predictor=self.shape_predictor)
File "/content/encoder4editing/utils/alignment.py", line 35, in align_face
lm = get_landmark(filepath, predictor)
File "/content/encoder4editing/utils/alignment.py", line 21, in get_landmark
t = list(shape.parts())
UnboundLocalError: local variable 'shape' referenced before assignment
Request your help please.
regards,
The text was updated successfully, but these errors were encountered:
Hi,
Received following error, while running the model on replicate on this url.
https://replicate.com/orpatashnik/styleclip?prediction=fymrb2nnibfsdilmvqp6sz276a
Image used was this:-
Neutral image description:- car
Target image description:- blue car
Error was:-
Running predict()...
Traceback (most recent call last):
File "/root/.pyenv/versions/3.7.14/lib/python3.7/site-packages/cog/server/worker.py", line 209, in _predict
result = self._predictor.predict(**payload)
File "cog_predict.py", line 112, in predict
input_image = self.run_alignment(str(input))
File "cog_predict.py", line 170, in run_alignment
aligned_image = align_face(filepath=image_path, predictor=self.shape_predictor)
File "/content/encoder4editing/utils/alignment.py", line 35, in align_face
lm = get_landmark(filepath, predictor)
File "/content/encoder4editing/utils/alignment.py", line 21, in get_landmark
t = list(shape.parts())
UnboundLocalError: local variable 'shape' referenced before assignment
Request your help please.
regards,
The text was updated successfully, but these errors were encountered: