This repository was archived by the owner on Aug 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1414 - id : end-of-file-fixer
1515 - id : trailing-whitespace
1616 - id : check-case-conflict
17+ - id : check-json
1718 - id : check-yaml
1819 - id : check-toml
19- - id : pretty-format-json
2020 - id : check-added-large-files
2121 args : ['--maxkb=250', '--enforce-all']
2222 - id : check-docstring-first
2626 rev : v2.31.1
2727 hooks :
2828 - id : pyupgrade
29- args : [--py36 -plus]
29+ args : [--py37 -plus]
3030 name : Upgrade code
3131
3232 - repo : https://github.com/myint/docformatter
Original file line number Diff line number Diff line change 22import os
33
44import flash
5+ import matplotlib .pyplot as plt
56import pandas as pd
6- import torch
7+ import seaborn as sn
78from flash .image import ImageClassificationData , ImageClassifier
89from pytorch_lightning .loggers import CSVLogger
910
3637trainer .finetune (model , datamodule = datamodule , strategy = "freeze" )
3738
3839# %%
39-
40- import matplotlib .pyplot as plt
41- import seaborn as sn
42-
4340metrics = pd .read_csv (f"{ trainer .logger .log_dir } /metrics.csv" )
4441del metrics ["step" ]
4542metrics .set_index ("epoch" , inplace = True )
You can’t perform that action at this time.
0 commit comments