Video-Inference icon indicating copy to clipboard operation
Video-Inference copied to clipboard

error

Open andy500 opened this issue 4 years ago • 4 comments

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

andy500 avatar Dec 11 '21 16:12 andy500

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

joeyballentine avatar Dec 11 '21 19:12 joeyballentine

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 avatar Dec 12 '21 13:12 andy500

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.

andy500 avatar Dec 12 '21 13:12 andy500

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

joeyballentine avatar Dec 16 '21 04:12 joeyballentine