utils/wandb_logging PEP8 reformat (#2755)
* wandb_logging PEP8 reformat * Update wandb_utils.py
This commit is contained in:
1 parent
b5de52c4cd
commit
0cae7576a9
2 files changed
+17
-20
No files matched your search
@@ -1,10 +1,8 @@
|
||||
import argparse
|
||||
from pathlib import Path
|
||||
|
||||
import yaml
|
||||
|
||||
from wandb_utils import WandbLogger
|
||||
from utils.datasets import LoadImagesAndLabels
|
||||
|
||||
WANDB_ARTIFACT_PREFIX = 'wandb-artifact://'
|
||||
|
||||
@@ -21,6 +19,6 @@ if __name__ == '__main__':
|
||||
parser.add_argument('--single-cls', action='store_true', help='train as single-class dataset')
|
||||
parser.add_argument('--project', type=str, default='YOLOv5', help='name of W&B Project')
|
||||
opt = parser.parse_args()
|
||||
opt.resume = False # Explicitly disallow resume check for dataset upload Job
|
||||
|
||||
opt.resume = False # Explicitly disallow resume check for dataset upload job
|
||||
|
||||
create_dataset_artifact(opt)
|
||||
Reference in new issue
Block a user