libtuning: Reactivate macbeth locator
Add the missing pieces and store the result inside the image object. This solution is not very nice, and should be refactored soon. For that we need a concept to collect temperature and/or image specific results in a central place. For now it serves the purpose. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
parent
6672c49cbf
commit
611242b259
3 changed files with 13 additions and 5 deletions
|
@ -17,7 +17,7 @@ import logging
|
|||
|
||||
import libtuning as lt
|
||||
from libtuning.image import Image
|
||||
from libtuning.macbeth import locate_macbeth
|
||||
from .macbeth import locate_macbeth
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
@ -127,7 +127,7 @@ def load_images(input_dir: str, config: dict, load_nonlsc: bool, load_lsc: bool)
|
|||
continue
|
||||
|
||||
# Handle macbeth
|
||||
macbeth = locate_macbeth(config)
|
||||
macbeth = locate_macbeth(image, config)
|
||||
if macbeth is None:
|
||||
continue
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue