brainglobe / cellfinder

Automated 3D cell detection in very large images

Home Page:https://brainglobe.info/documentation/cellfinder/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move imports out of functions

adamltyson opened this issue · comments

TensorFlow creates a lot of noise on the console, so the solution used to be:

  • Silence these warnings
  • Import TF within functions so that it could be silenced before import

Now with the move to torch, this shouldn't be necessary, so we can move all the imports back to the top of files where they belong.

cc @IgorTatarnikov