Skip to content
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

Postgres Descriptor Indexing Fails #334

Open
mattdawkins opened this issue Feb 2, 2018 · 1 comment
Open

Postgres Descriptor Indexing Fails #334

mattdawkins opened this issue Feb 2, 2018 · 1 comment

Comments

@mattdawkins
Copy link
Member

2018-02-01 21:13:42.510 DEBUG compute_track_descriptors_process.cxx(186): Processing frame ts(f: 3, t: 1000000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:42.510 DEBUG associate_detections_to_tracks_process.cxx(136): Processing frame ts(f: 2, t: 500000 (Wed Dec 31 19:00:00 1969), d: 0)
2018-02-01 21:13:42.520 DEBUG initialize_object_tracks_process.cxx(128): Processing frame ts(f: 2, t: 500000 (Wed Dec 31 19:00:00 1969), d: 0)
2018-02-01 21:13:44.199 DEBUG compute_track_descriptors_process.cxx(186): Processing frame ts(f: 2, t: 500000 (Wed Dec 31 19:00:00 1969), d: 0)
2018-02-01 21:13:44.199 DEBUG smqtk.representation.descriptor_index.postgres.PostgresDescriptorIndex(369): Adding many descriptors
Exception in thread smqtk_indexer:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/matt/Dev/viame/build/install/lib/python2.7/dist-packages/sprokit/schedulers/pythread_per_process_scheduler.py", line 115, in _run_process
proc.step()
File "/home/matt/Dev/viame/build/install/lib/python2.7/dist-packages/viame/processes/smqtk/smqtk_ingest_descriptors.py", line 132, in _step
smqtk_descriptor_elements
File "/home/matt/Dev/viame/build/install/lib/python2.7/site-packages/smqtk/representation/descriptor_index/postgres.py", line 370, in add_many_descriptors
list(self.psql_helper.batch_execute(iter_elements(), exec_hook))
TypeError: batch_execute() takes at least 4 arguments (3 given)

2018-02-01 21:13:46.429 DEBUG compute_association_matrix_process.cxx(151): Processing frame ts(f: 3, t: 1000000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:46.429 DEBUG compute_track_descriptors_process.cxx(186): Processing frame ts(f: 4, t: 1500000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:46.430 DEBUG associate_detections_to_tracks_process.cxx(136): Processing frame ts(f: 3, t: 1000000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:46.431 DEBUG initialize_object_tracks_process.cxx(128): Processing frame ts(f: 3, t: 1000000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:49.693 DEBUG compute_track_descriptors_process.cxx(186): Processing frame ts(f: 3, t: 1000000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:50.658 DEBUG compute_association_matrix_process.cxx(151): Processing frame ts(f: 4, t: 1500000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:50.658 DEBUG compute_track_descriptors_process.cxx(186): Processing frame ts(f: 5, t: 2000000 (Wed Dec 31 19:00:02 1969), d: 0)
2018-02-01 21:13:50.659 DEBUG associate_detections_to_tracks_process.

On VIAME: next example/image_and_video_search/video_ingest/ bash ingest_video.sh this happens with current master

@Purg
Copy link
Member

Purg commented Feb 2, 2018

Can you confirm if this issue persists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants