Skip to content

Commit

Permalink
Clean unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
zachschillaci27 authored and WuTheFWasThat committed Dec 14, 2023
1 parent 1dbfbd6 commit c867217
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions train_weak_to_strong.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import functools
import json
import os
import time
from typing import Dict, List, Optional, Sequence, Union

import fire
Expand Down
2 changes: 0 additions & 2 deletions vision/run_weak_strong.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import einops
import fire
import numpy as np
import torch
import torchvision
import tqdm
from data import get_imagenet
from models import alexnet, resnet50_dino, vitb8_dino
Expand Down
2 changes: 0 additions & 2 deletions weak_to_strong/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
from random import Random
from typing import Any, Callable, Optional

import torch
from datasets import Dataset as HfDataset
from datasets import load_dataset as hf_load_dataset
from transformers import GPT2Tokenizer


@dataclass
Expand Down
1 change: 0 additions & 1 deletion weak_to_strong/logger.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import json
import os
from datetime import datetime
from typing import List

import wandb

Expand Down
2 changes: 0 additions & 2 deletions weak_to_strong/loss.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from typing import Callable, Optional

import torch


Expand Down

0 comments on commit c867217

Please sign in to comment.