from UAV.imports import * # TODO why is this relative import on ?
from fastcore.utils import *
import cv2
import gi
import numpy as np
from imutils import resize
# from ping_ip import ping_ip
import threading
from multiprocessing import Process
from gi.repository import Gst
import subprocess
import platform
import paho.mqtt.client as mqtt_client
import time
# from dataloader import LoadImages, resize
from pathlib import Path
import logging
gi.require_version('Gst', '1.0')template01
bla bla bla
logging.basicConfig(format='%(asctime)-8s,%(msecs)-3d %(levelname)5s [%(filename)10s:%(lineno)3d] %(message)s',
datefmt='%H:%M:%S',
level=logging.DEBUG) # Todo add this to params
logger = logging.getLogger(__name__)NameError: name 'logging' is not defined
All of nbdev’s configuration is done through a file called settings.ini which lives in the root of your repo. It’s in ConfigParser format. For example, here’s the first few lines of nbdev’s settings.ini file