Skip to content
Snippets Groups Projects
Commit f0c03d49 authored by Selim Lakhdar's avatar Selim Lakhdar
Browse files

WIP:train&predict

parent 9fe3360b
No related branches found
No related tags found
No related merge requests found
Showing
with 289 additions and 4 deletions
train1: train1:
python3 src/yolov5/train.py --img 640 --batch 16 --epochs 3 --data my-drone.yaml --weights projects/Detect_drone/exp27/weights/best.pt python3 src/yolov5/train.py --img 640 --batch 16 --epochs 3 --data my-drone.yaml --weights projects/Detect_drone/exp27/weights/best.pt
detect1:
python3 src/yolov5/detect.py --weights src/yolov5/runs/train/exp13/weights/best.pt --source data/videos/VID_20220208_150059.mp4
detect2:
python3 src/yolov5/detect.py --weights src/yolov5/runs/train/exp13/weights/best.pt --source data/videos/2022-02-15-154943.mp4
\ No newline at end of file
File added
File added
run-20220221_193329-32rw10gx/logs/debug-internal.log run-20220221_203420-gh6j8pdb/logs/debug-internal.log
\ No newline at end of file \ No newline at end of file
run-20220221_193329-32rw10gx/logs/debug.log run-20220221_203420-gh6j8pdb/logs/debug.log
\ No newline at end of file \ No newline at end of file
run-20220221_193329-32rw10gx run-20220221_203420-gh6j8pdb
\ No newline at end of file \ No newline at end of file
name: PFE
channels:
- defaults
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=4.5=1_gnu
- bzip2=1.0.8=h7b6447c_0
- ca-certificates=2021.10.26=h06a4308_2
- certifi=2021.10.8=py38h06a4308_2
- ld_impl_linux-64=2.35.1=h7274673_9
- libffi=3.3=he6710b0_2
- libgcc-ng=9.3.0=h5101ec6_17
- libgomp=9.3.0=h5101ec6_17
- libstdcxx-ng=9.3.0=hd4cf53a_17
- libuuid=1.0.3=h7f8727e_2
- ncurses=6.3=h7f8727e_2
- openssl=1.1.1m=h7f8727e_0
- pip=21.2.4=py38h06a4308_0
- python=3.8.12=h12debd9_0
- readline=8.1.2=h7f8727e_1
- setuptools=58.0.4=py38h06a4308_0
- sqlite=3.37.2=hc218d9a_0
- tk=8.6.11=h1ccaba5_0
- tzdata=2021e=hda174b7_0
- wheel=0.37.1=pyhd3eb1b0_0
- xz=5.2.5=h7b6447c_0
- zlib=1.2.11=h7f8727e_4
- pip:
- absl-py==1.0.0
- astunparse==1.6.3
- cachetools==5.0.0
- charset-normalizer==2.0.11
- click==8.0.3
- cycler==0.11.0
- docker-pycreds==0.4.0
- flatbuffers==2.0
- fonttools==4.29.1
- gast==0.5.3
- gitdb==4.0.9
- gitpython==3.1.26
- google-auth==2.6.0
- google-auth-oauthlib==0.4.6
- google-pasta==0.2.0
- grpcio==1.43.0
- h5py==3.6.0
- idna==3.3
- importlib-metadata==4.10.1
- keras==2.8.0
- keras-preprocessing==1.1.2
- kiwisolver==1.3.2
- libclang==13.0.0
- markdown==3.3.6
- matplotlib==3.5.1
- numpy==1.22.2
- oauthlib==3.2.0
- opencv-python==4.5.5.62
- opt-einsum==3.3.0
- packaging==21.3
- pandas==1.4.0
- pathtools==0.1.2
- pillow==9.0.1
- promise==2.3
- protobuf==3.19.4
- psutil==5.9.0
- pyparsing==3.0.7
- python-dateutil==2.8.2
- pytz==2021.3
- pyyaml==6.0
- requests==2.27.1
- requests-oauthlib==1.3.1
- rsa==4.8
- scipy==1.8.0
- seaborn==0.11.2
- sentry-sdk==1.5.5
- shortuuid==1.0.8
- six==1.16.0
- smmap==5.0.0
- tensorboard==2.8.0
- tensorboard-data-server==0.6.1
- tensorboard-plugin-wit==1.8.1
- tensorflow==2.8.0
- tensorflow-io-gcs-filesystem==0.24.0
- termcolor==1.1.0
- tf-estimator-nightly==2.8.0.dev2021122109
- thop==0.0.31-2005241907
- torch==1.10.2+cpu
- torchaudio==0.10.2+cpu
- torchvision==0.11.3+cpu
- tqdm==4.62.3
- urllib3==1.26.8
- wandb==0.12.10
- werkzeug==2.0.3
- wrapt==1.13.3
- yaspin==2.1.0
- zipp==3.7.0
prefix: /opt/anaconda/envs/PFE
wandb_version: 1
_wandb:
desc: null
value:
bounding_box/class_labels:
BoundingBoxDebugger_wandb_delimeter_predictions:
key: BoundingBoxDebugger_wandb_delimeter_predictions
type: bounding_box/class_labels
value:
'0': Drone
cli_version: 0.12.10
framework: torch
is_jupyter_run: false
is_kaggle_kernel: false
python_version: 3.8.12
start_time: 1645472060
t:
1:
- 1
- 2
- 3
2:
- 1
- 2
- 3
3:
- 2
- 16
4: 3.8.12
5: 0.12.10
8:
- 5
artifact_alias:
desc: null
value: latest
batch_size:
desc: null
value: 16
bbox_interval:
desc: null
value: -1
bucket:
desc: null
value: ''
cache:
desc: null
value: null
cfg:
desc: null
value: ''
cos_lr:
desc: null
value: false
data:
desc: null
value: /home/alpha/Documents/Lille1/M2_ML_2021_2022/PFE/src/yolov5/data/my-drone.yaml
data_dict:
desc: null
value:
names:
- Drone
nc: 1
path: ../../data
test: null
train: /home/alpha/Documents/Lille1/M2_ML_2021_2022/PFE/data/train.txt
val: /home/alpha/Documents/Lille1/M2_ML_2021_2022/PFE/data/val.txt
device:
desc: null
value: ''
entity:
desc: null
value: null
epochs:
desc: null
value: 3
evolve:
desc: null
value: null
exist_ok:
desc: null
value: false
freeze:
desc: null
value:
- 0
hyp:
desc: null
value:
anchor_t: 4.0
box: 0.05
cls: 0.5
cls_pw: 1.0
copy_paste: 0.0
degrees: 0.0
fl_gamma: 0.0
fliplr: 0.5
flipud: 0.0
hsv_h: 0.015
hsv_s: 0.7
hsv_v: 0.4
iou_t: 0.2
lr0: 0.01
lrf: 0.1
mixup: 0.0
momentum: 0.937
mosaic: 1.0
obj: 1.0
obj_pw: 1.0
perspective: 0.0
scale: 0.5
shear: 0.0
translate: 0.1
warmup_bias_lr: 0.1
warmup_epochs: 3.0
warmup_momentum: 0.8
weight_decay: 0.0005
image_weights:
desc: null
value: false
imgsz:
desc: null
value: 640
label_smoothing:
desc: null
value: 0.0
local_rank:
desc: null
value: -1
multi_scale:
desc: null
value: false
name:
desc: null
value: exp
noautoanchor:
desc: null
value: false
nosave:
desc: null
value: false
noval:
desc: null
value: false
optimizer:
desc: null
value: SGD
patience:
desc: null
value: 100
project:
desc: null
value: src/yolov5/runs/train
quad:
desc: null
value: false
rect:
desc: null
value: false
resume:
desc: null
value: false
save_dir:
desc: null
value: src/yolov5/runs/train/exp13
save_period:
desc: null
value: -1
single_cls:
desc: null
value: false
sync_bn:
desc: null
value: false
upload_dataset:
desc: null
value: false
weights:
desc: null
value: projects/Detect_drone/exp27/weights/best.pt
workers:
desc: null
value: 8
wandb/run-20220221_203420-gh6j8pdb/files/media/images/BoundingBoxDebugger_0_0.png

164 KiB

wandb/run-20220221_203420-gh6j8pdb/files/media/images/BoundingBoxDebugger_0_1.png

194 KiB

wandb/run-20220221_203420-gh6j8pdb/files/media/images/BoundingBoxDebugger_0_10.png

196 KiB

wandb/run-20220221_203420-gh6j8pdb/files/media/images/BoundingBoxDebugger_0_11.png

194 KiB

wandb/run-20220221_203420-gh6j8pdb/files/media/images/BoundingBoxDebugger_0_12.png

202 KiB

wandb/run-20220221_203420-gh6j8pdb/files/media/images/BoundingBoxDebugger_0_13.png

203 KiB

wandb/run-20220221_203420-gh6j8pdb/files/media/images/BoundingBoxDebugger_0_14.png

201 KiB

wandb/run-20220221_203420-gh6j8pdb/files/media/images/BoundingBoxDebugger_0_15.png

179 KiB

wandb/run-20220221_203420-gh6j8pdb/files/media/images/BoundingBoxDebugger_0_2.png

92.3 KiB

wandb/run-20220221_203420-gh6j8pdb/files/media/images/BoundingBoxDebugger_0_3.png

91.8 KiB

wandb/run-20220221_203420-gh6j8pdb/files/media/images/BoundingBoxDebugger_0_4.png

153 KiB

wandb/run-20220221_203420-gh6j8pdb/files/media/images/BoundingBoxDebugger_0_5.png

121 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment