Closed LeArmadillo closed 3 years ago
Also seem to be missing DisModel():
Traceback (most recent call last):
File "train_st_ed.py", line 119, in
hey, the perceptual similarity model is from this repo: https://github.com/richzhang/PerceptualSimilarity I've updated my code to work with theirs :) Just pull the updates and install lpips with pip, and it should be fine now.
as for the problem with DisModel, i don't think i used that, and i cannot find it on the 43rd line of st_ed.py.
Thanks! That fixed it
Hi Zhengyuf,
The train_st_ed.py script is looking for a folder PerceptualSimilarity, can you provide the source for this?
STED-gaze-master# python train_st_ed.py config/eval.json Traceback (most recent call last): File "train_st_ed.py", line 20, in
from models import STED
File "/translation/STED-gaze-master/models/init.py", line 2, in
from .st_ed import STED
File "/translation/STED-gaze-master/models/st_ed.py", line 27, in
from .PerceptualSimilarity.lpips_models import PerceptualLoss
ModuleNotFoundError: No module named 'models.PerceptualSimilarity'