Skip to content

Commit

Permalink
fix: import order
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioseel committed Oct 21, 2024
1 parent 9744025 commit 5c13643
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion runner/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

import matplotlib.pyplot as plt
import torch
import wandb
from matplotlib.figure import Figure
from omegaconf import DictConfig

import wandb
from retinal_rl.analysis.plot import (
layer_receptive_field_plots,
plot_brain_and_optimizers,
Expand Down
2 changes: 1 addition & 1 deletion runner/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

import omegaconf
import torch
import wandb
from hydra.core.hydra_config import HydraConfig
from omegaconf import DictConfig
from torch.optim.optimizer import Optimizer

import wandb
from retinal_rl.models.brain import Brain
from runner.util import save_checkpoint

Expand Down
3 changes: 1 addition & 2 deletions runner/sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

from typing import Any, Dict, cast

from omegaconf import DictConfig, OmegaConf

import wandb
from omegaconf import DictConfig, OmegaConf


def launch_sweep(cfg: DictConfig):
Expand Down

0 comments on commit 5c13643

Please sign in to comment.