Skip to content

Bug on ParallelLoader when running with dry_run=True #250

Closed

Description

@luisremis
remis@server:~/ad/apps/demos/yfcc100m$ cat error.log
Traceback (most recent call last):
  File "/home/remis/ad/apps/demos/yfcc100m/load_yfcc.py", line 64, in <module>
    main(args)
  File "/home/remis/ad/apps/demos/yfcc100m/load_yfcc.py", line 30, in main
    loader.ingest(img_data, batchsize=params.batchsize,
  File "/home/remis/ad/py-aperturedb/aperturedb/ParallelLoader.py", line 75, in ingest
    self.query(generator, batchsize, numthreads, stats)
  File "/home/remis/ad/py-aperturedb/aperturedb/ParallelQuery.py", line 297, in query
    self.run(generator, batchsize, numthreads, stats)
  File "/home/remis/ad/py-aperturedb/aperturedb/Parallelizer.py", line 79, in run
    self.print_stats()
  File "/home/remis/ad/py-aperturedb/aperturedb/ParallelLoader.py", line 98, in print_stats
    suceeded_queries = sum([stat["suceeded_queries"]
  File "/home/remis/ad/py-aperturedb/aperturedb/ParallelLoader.py", line 98, in <listcomp>
    suceeded_queries = sum([stat["suceeded_queries"]
KeyError: 'suceeded_queries'

Activity

  1. added
    bug
    on Jun 27, 2023
  2. gsaluja9 commented on Nov 3, 2023

    @gsaluja9
    Contributor

    Is this still a problem ?

  3. luisremis commented on Jan 3, 2024

    @luisremis
    ContributorAuthor

    I don't remember seeing this in a while. @drewaogle may know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions