D-X-Y/landmark-detection

ModuleNotFoundError: No module named 'xvision'

Koruvika opened this issue · 3 comments

When I try open a pretrained model in here, I get a the error "ModuleNotFoundError: No module named 'xvision'", how can i fix it?

D-X-Y commented

Hi Koruvika, the xvision is located at https://github.com/D-X-Y/landmark-detection/tree/master/SRT/lib/xvision it may due to you did not properly import the libraries in this repo

Tks for reply @D-X-Y, i tried training with X-SBR-main.py but it seems the model was overfit from the first epochs, training registration loss decreased while validation registration loss increased. The model I use is a pre-trained PFLD. My dataset i use contains 50k image and 50k frames (from video).

I saw the loss in temporal_loss_regression.py
image
past_loss and future_loss seem to calculate only once the distance between two consecutive frames (video_L is int) instead of calculating the distances of all consecutive frames in the sequence, does this affect training results?