Skip to content

Commit

Permalink
Pass neuralization progress callback to the backend
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasZahradnik committed Apr 3, 2024
1 parent 4847d0e commit 477fcc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neuralogic/core/builder/builder.py
Expand Up @@ -76,7 +76,7 @@ def neuralize(self, groundings, progress: bool, length: Optional[int]) -> List[N
return self._neuralize(groundings, self._callback(pbar))

def _neuralize(self, groundings, callback) -> List[NeuralSample]:
neuralize_pipeline = self.example_builder.neuralize(groundings, None)
neuralize_pipeline = self.example_builder.neuralize(groundings, callback)
neuralize_pipeline.execute(None)

samples = neuralize_pipeline.get()
Expand Down

0 comments on commit 477fcc0

Please sign in to comment.