2020-08-09 03:57:05 +08:00
|
|
|
# pip install -r requirements.txt
|
2020-08-15 01:14:48 +08:00
|
|
|
|
|
|
|
# base ----------------------------------------
|
2020-08-02 05:00:14 +08:00
|
|
|
matplotlib>=3.2.2
|
2020-07-17 04:37:58 +08:00
|
|
|
numpy>=1.18.5
|
2020-08-02 05:00:14 +08:00
|
|
|
opencv-python>=4.1.2
|
2021-08-29 22:46:13 +08:00
|
|
|
Pillow>=8.0.0
|
2021-01-25 03:54:15 +08:00
|
|
|
PyYAML>=5.3.1
|
2020-08-02 05:00:38 +08:00
|
|
|
scipy>=1.4.1
|
2020-12-09 23:44:06 +08:00
|
|
|
torch>=1.7.0
|
|
|
|
torchvision>=0.8.1
|
2020-08-02 05:00:14 +08:00
|
|
|
tqdm>=4.41.0
|
2020-05-30 08:04:54 +08:00
|
|
|
|
2020-11-01 03:16:35 +08:00
|
|
|
# logging -------------------------------------
|
2021-03-24 08:29:00 +08:00
|
|
|
tensorboard>=2.4.1
|
2020-11-01 03:16:35 +08:00
|
|
|
# wandb
|
|
|
|
|
2020-11-23 22:27:14 +08:00
|
|
|
# plotting ------------------------------------
|
2020-12-20 01:30:43 +08:00
|
|
|
seaborn>=0.11.0
|
2020-11-23 22:27:14 +08:00
|
|
|
pandas
|
2020-08-15 01:14:48 +08:00
|
|
|
|
|
|
|
# export --------------------------------------
|
2021-02-10 14:03:29 +08:00
|
|
|
# coremltools>=4.1
|
2021-05-13 01:56:12 +08:00
|
|
|
# onnx>=1.9.0
|
2020-08-23 11:50:53 +08:00
|
|
|
# scikit-learn==0.19.2 # for coreml quantization
|
Add TensorFlow and TFLite export (#1127)
* Add models/tf.py for TensorFlow and TFLite export
* Set auto=False for int8 calibration
* Update requirements.txt for TensorFlow and TFLite export
* Read anchors directly from PyTorch weights
* Add --tf-nms to append NMS in TensorFlow SavedModel and GraphDef export
* Remove check_anchor_order, check_file, set_logging from import
* Reformat code and optimize imports
* Autodownload model and check cfg
* update --source path, img-size to 320, single output
* Adjust representative_dataset
* Put representative dataset in tfl_int8 block
* detect.py TF inference
* weights to string
* weights to string
* cleanup tf.py
* Add --dynamic-batch-size
* Add xywh normalization to reduce calibration error
* Update requirements.txt
TensorFlow 2.3.1 -> 2.4.0 to avoid int8 quantization error
* Fix imports
Move C3 from models.experimental to models.common
* Add models/tf.py for TensorFlow and TFLite export
* Set auto=False for int8 calibration
* Update requirements.txt for TensorFlow and TFLite export
* Read anchors directly from PyTorch weights
* Add --tf-nms to append NMS in TensorFlow SavedModel and GraphDef export
* Remove check_anchor_order, check_file, set_logging from import
* Reformat code and optimize imports
* Autodownload model and check cfg
* update --source path, img-size to 320, single output
* Adjust representative_dataset
* detect.py TF inference
* Put representative dataset in tfl_int8 block
* weights to string
* weights to string
* cleanup tf.py
* Add --dynamic-batch-size
* Add xywh normalization to reduce calibration error
* Update requirements.txt
TensorFlow 2.3.1 -> 2.4.0 to avoid int8 quantization error
* Fix imports
Move C3 from models.experimental to models.common
* implement C3() and SiLU()
* Fix reshape dim to support dynamic batching
* Add epsilon argument in tf_BN, which is different between TF and PT
* Set stride to None if not using PyTorch, and do not warmup without PyTorch
* Add list support in check_img_size()
* Add list input support in detect.py
* sys.path.append('./') to run from yolov5/
* Add int8 quantization support for TensorFlow 2.5
* Add get_coco128.sh
* Remove --no-tfl-detect in models/tf.py (Use tf-android-tfl-detect branch for EdgeTPU)
* Update requirements.txt
* Replace torch.load() with attempt_load()
* Update requirements.txt
* Add --tf-raw-resize to set half_pixel_centers=False
* Add --agnostic-nms for TF class-agnostic NMS
* Cleanup after merge
* Cleanup2 after merge
* Cleanup3 after merge
* Add tf.py docstring with credit and usage
* pb saved_model and tflite use only one model in detect.py
* Add use cases in docstring of tf.py
* Remove redundant `stride` definition
* Remove keras direct import
* Fix `check_requirements(('tensorflow>=2.4.1',))`
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2021-08-17 19:18:16 +08:00
|
|
|
# tensorflow==2.4.1 # for TFLite export
|
2020-08-15 01:14:48 +08:00
|
|
|
|
|
|
|
# extras --------------------------------------
|
2021-05-23 23:53:54 +08:00
|
|
|
# Cython # for pycocotools https://github.com/cocodataset/cocoapi/issues/172
|
2021-06-09 17:22:21 +08:00
|
|
|
# pycocotools>=2.0 # COCO mAP
|
2021-07-19 19:23:19 +08:00
|
|
|
# albumentations>=1.0.3
|
2021-06-08 16:22:10 +08:00
|
|
|
thop # FLOPs computation
|