Skip to content
Vicky(Xinyi) Xiang edited this page Jul 15, 2022 · 9 revisions

Common Setting Up Error

ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)

ERROR: No matching distribution found for cv2

pip install opencv-python

No need to specify a distribution, opencv-python will install both opencv and cv2


ModuleNotFoundError: No module named 'torch'

pip install torchvision


ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly.

Causes: there is an updated version of numpy released but not supported by the vesion of python.

pip install -U numpy

Additional Packages not in the Fork

torchvision

opencv

alfred-py

scipy

pyyaml==5.1

protobuf==3.20 (downgraded from 4.21.2 to resolve conflicts)

fvcore

cython

Solution pip install (package_name)

W & B Capabilities

  • Visualize model performance
  • Save record of experiments
  • Hyperparameter optimization
  • Data lineage
  • Model versioning
  • Model registry
  • Self-hosting

About YOLOv7

  • Only framework that supports YOLOv4 and instance segmentation
  • Based on Detectron2, a pytorch library

Train and Validation Data Layout

Seals
|-- train_imgs
|-- val_imgs
|-- annotations
-------|
-------|-- train_annotations
------------|
------------| train_annotations.json
-------|-- valid_annotations
------------| valid_annotations.json

pywintypes Related Error