Skip to content

Error running inference on video #2

@jamalknight

Description

@jamalknight

hi there

After following the installation steps, I get an error when running inference on a video.

Running:
python scripts/predict.py -r 00_03.mp4 output.pkl

Error:

Traceback (most recent call last):
  File "scripts/predict.py", line 6, in <module>
    from databases.datasets import FlippableDataset
ModuleNotFoundError: No module named 'databases.datasets'

It seems that there are errors on the libraries to import:

from databases.datasets import FlippableDataset
from databases.joint_sets import MuPoTSJoints, CocoExJoints
from model.pose_refinement import optimize_poses
from scripts.eval import load_model, LOG_PATH
from training.callbacks import TemporalTestEvaluator
from training.preprocess import SaveableCompose, MeanNormalize3D, get_postprocessor
from util.misc import load, save, ensuredir
from util.pose import extend_hrnet_raw
from scripts import maskrcnn_bboxes, hrnet_predict

I am in the conda environment 'pose-refinement'

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions