joeyballentine / Video-Inference

Easy inference for video networks. Currently supports SOFVSR (traiNNer Version), RIFE, and TecoGAN-pytorch
55 stars 1 forks source link

error #8

Open andy500 opened 2 years ago

andy500 commented 2 years ago

ModuleNotFoundError: No module named 'utils.state_dict_utils' can you tall me why l get this when l run your code thank you

joeyballentine commented 2 years ago

are you running it from the root directory of the repo?

andy500 commented 2 years ago

yes l am so why am getting this error

On Sat, 11 Dec 2021 at 19:18, Joey Ballentine @.***> wrote:

are you running it from the root directory of the repo?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JoeyBallentine/Video-Inference/issues/8#issuecomment-991755306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFIOA3KW7PVS2STZFPBRH2LUQOPXTANCNFSM5J3FUC4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

andy500 commented 2 years ago

this is what l am getting File "run.py", line 7, in from utils.state_dict_utils import get_model_from_state_dict ModuleNotFoundError: No module named 'utils.state_dict_utils'

On Sun, 12 Dec 2021 at 13:29, Andrew Floyd @.***> wrote:

yes l am so why am getting this error

On Sat, 11 Dec 2021 at 19:18, Joey Ballentine @.***> wrote:

are you running it from the root directory of the repo?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JoeyBallentine/Video-Inference/issues/8#issuecomment-991755306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFIOA3KW7PVS2STZFPBRH2LUQOPXTANCNFSM5J3FUC4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

joeyballentine commented 2 years ago

That's really strange, my only suggestion would be to try adding a . before utils and seeing if that fixes it. so like .utils.state_dict_utils