-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples/recogonize.py does not work out of the box. #14
Comments
hey, even after trying this i'm getting the same error |
what did you try? You need to hack the library code for this to work |
refer to the changes here: |
|
Component | Version |
---|---|
Python | 3.8.2 |
OS | macOS 11.6.5 |
autovideo | 1.2.4 |
requirements.txt
autovideo
d3m
pandas
torch==1.9.0
torchvision==0.10.0
The restriction to version for torch
and torchvision
is from #13.
Run Command
Running the command below
python -m examples.recognize --load_path fitted_pipeline --video_path demo.avi
Error
produces the error:
Exception has occurred: AttributeError
'PipelineRun' object has no attribute 'previous_pipeline_run_id'
File "/autovideo/autovideo/utils/axolotl_utils.py", line 80, in produce
pipeline_result = backend.produce_pipeline(_id, [test_dataset])
File "/autovideo/autovideo/utils/axolotl_utils.py", line 106, in produce_by_path
predictions = produce(test_dataset=dataset,
File "/autovideo/examples/recognize.py", line 49, in run
predictions = produce_by_path(fitted_pipeline, args.video_path)
File "/autovideo/examples/recognize.py", line 69, in <module>
run(args)
AttributeError: 'PipelineRun' object has no attribute 'previous_pipeline_run_id'
the error is due to mismatch of data classes used for training(fitted_pipeline), and the inference data. |
I have the same issue. Here are the relevant details. Environment
Line I Ran
Error Stack Trace
|
Minimum size of dataset is 4, I have the following hack in produce_by_path that works.
The text was updated successfully, but these errors were encountered: