Files @ d4478db55eec
Branch filter:

Location: OneEye/exp/exp_config.py

Laman
readme: line breaks
import os
import json
import logging as log


log.basicConfig(level=log.INFO,format="%(asctime)s %(levelname)s: %(message)s")
thisDir=os.path.dirname(__file__)

with open(os.path.join(thisDir,"config.json")) as f:
	cfg=json.load(f)

INTERACTIVE=False
imgDir="/tmp/oneEye"
sansaModel=cfg.get("sansaModel")
dochiModel=cfg.get("dochiModel")
i=1

if not os.path.exists(imgDir):
	os.mkdir(imgDir)