mirror of
https://github.com/vladmandic/automatic
synced 2026-09-04 12:00:46 +02:00
style(test): remove unused imports in test-tagger.py
This commit is contained in:
@@ -93,7 +93,6 @@ class TaggerTest:
|
||||
def setup(self):
|
||||
"""Load test image and models."""
|
||||
from PIL import Image
|
||||
from modules import shared
|
||||
|
||||
print("=" * 70)
|
||||
print("TAGGER SETTINGS TEST SUITE")
|
||||
@@ -221,7 +220,6 @@ class TaggerTest:
|
||||
def get_memory_stats(self):
|
||||
"""Get current GPU and CPU memory usage."""
|
||||
import torch
|
||||
import gc
|
||||
|
||||
stats = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user