Skip to content

Commit

Permalink
beta0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sml2h3 committed Feb 19, 2022
1 parent b592fe4 commit 12a4bec
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from loguru import logger
from utils import project_manager
from utils import cache_data
from utils import load_cache
from utils import train


class App:
Expand All @@ -22,12 +22,10 @@ def cache(self, project_name: str, base_path: str, search_type: str = "name"):
cache.cache(base_path, search_type)
pass

def test_load(self):
load = load_cache.GetLoader("test1")
val = load.loaders['val']
val = iter(val)
for inputs, labels, labels_length in val:
print(inputs, labels, labels_length)
def test_load(self, project_name: str):
logger.info("\nStart Train ----> {}\n".format(project_name))
trainer = train.Train("test1")
trainer.start()



Expand Down

0 comments on commit 12a4bec

Please sign in to comment.