* Initial commit * Remove unused export_torchscript return * ROOT variable * Add prefix to fcn arg * fix ROOT * check_yaml into run() * interim fixes * imgsz=(320, 320) * Hardcode tf_raw_resize False * Finish opt elimination * Update representative_dataset_gen() * Update export.py with TF methods * SiLU and GraphDef fixes * file_size() directory handling feature * export fixes * add lambda: to representative_dataset * Detect training False default * Fuse false for TF models * Embed agnostic NMS arguments * Remove lambda * TensorFlow.js export success * Add pb to Usage * Add *_tfjs_model/ to ignore files * prepend YOLOv5 to function headers * Remove end --- comments * parameterize tfjs export pb file * update run() data default /ROOT * update --include help * update imports * return ct_model * Consolidate TFLite export * pb prerequisite to tfjs * TF modules CamelCase * Remove exports from tf.py and cleanup * pass agnostic NMS arguments * CI * CI * ignore *_web_model/ * Add tensorflow to CI dependencies * CI tensorflow-cpu * Update requirements.txt * Remove tensorflow check_requirement * CI coreml tfjs * export only onnx torchscript * reorder exports torchscript first
35 lines
857 B
Plaintext
Executable File
35 lines
857 B
Plaintext
Executable File
# pip install -r requirements.txt
|
|
|
|
# Base ----------------------------------------
|
|
matplotlib>=3.2.2
|
|
numpy>=1.18.5
|
|
opencv-python>=4.1.2
|
|
Pillow>=8.0.0
|
|
PyYAML>=5.3.1
|
|
scipy>=1.4.1
|
|
torch>=1.7.0
|
|
torchvision>=0.8.1
|
|
tqdm>=4.41.0
|
|
|
|
# Logging -------------------------------------
|
|
tensorboard>=2.4.1
|
|
# wandb
|
|
|
|
# Plotting ------------------------------------
|
|
seaborn>=0.11.0
|
|
pandas
|
|
|
|
# Export --------------------------------------
|
|
# coremltools>=4.1 # CoreML export
|
|
# onnx>=1.9.0 # ONNX export
|
|
# onnx-simplifier>=0.3.6 # ONNX simplifier
|
|
# scikit-learn==0.19.2 # CoreML quantization
|
|
# tensorflow>=2.4.1 # TFLite export
|
|
# tensorflowjs>=3.9.0 # TF.js export
|
|
|
|
# Extras --------------------------------------
|
|
# Cython # for pycocotools https://github.com/cocodataset/cocoapi/issues/172
|
|
# pycocotools>=2.0 # COCO mAP
|
|
# albumentations>=1.0.3
|
|
thop # FLOPs computation
|