You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the weed_ai_yolov5.ipynb the labels were stored in f"/content/drive/MyDrive/{YOUR_DIRECTORY}/yolov5/datasets/{YOUR_DATASET}"
instead of f"/content/drive/MyDrive/{YOUR_DIRECTORY}/yolov5/datasets/{YOUR_DATASET}/labels"
I could fix that like this:
# Import json
for json_file in sorted(Path(json_dir).resolve().glob('*.json')):
fn = Path(save_dir / 'labels') # folder name
fn.mkdir(exist_ok=True)
with open(json_file) as f:
data = json.load(f)
Not sure if I made some mistake earlier or if this is a bug.
The text was updated successfully, but these errors were encountered:
When running the weed_ai_yolov5.ipynb the labels were stored in
f"/content/drive/MyDrive/{YOUR_DIRECTORY}/yolov5/datasets/{YOUR_DATASET}"
instead of
f"/content/drive/MyDrive/{YOUR_DIRECTORY}/yolov5/datasets/{YOUR_DATASET}/labels"
I could fix that like this:
Not sure if I made some mistake earlier or if this is a bug.
The text was updated successfully, but these errors were encountered: