Skip to content

Instantly share code, notes, and snippets.

View kiwixiao's full-sized avatar
🥝

kiwixiao kiwixiao

🥝
  • US
View GitHub Profile
import logging
formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
handler = logging.FileHandler(filename='log/flask_server.log')
handler.setFormatter(formatter)
logger = logging.getLogger()
logger.setLevel(logging.INFO)
logger.addHandler(handler)
@kiwixiao
kiwixiao / Build CIP Notes.md
Last active September 2, 2022 17:21
Building CIP from Scratch

This log simple logs some notes regarding errors encountered while building CIP from scratch.

  • ITK need to pick version-5 to avoid some error during build.

  • tensorflow DL module should be avoided to avoid python2 compatible issues. Not sure how to fix it yet.

  • Turn off git protocal, using http protocal

  • need to install gcc-8 and make it as default, new version gcc will not work.

  1. sudo apt install build-essential