I try to follow this tutorial using PyCharm on Windows10: https://curiousily.com/posts/object-detection-on-custom-dataset-with-yolo-v5-using-pytorch-and-python/ 6
A prerequisite is to run this pip install
pip install git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI
This gives an error which appears to be related to Visual Studio, and it seems to be a generic Windows compatibility problem:
Windows support for python API · Issue #9 · cocodataset/cocoapi · GitHub 2
(Just noted that this was supposed to be corrected according to the latest post in that thread, but it still crashes for me.)
Does this mean that YOLO5 cannot be reproduced in a Windows environment?
ps: Here is the error message.
cl : Command line error D8021 : invalid numeric argument ‘/Wno-cpp’
error: command ‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe’ failed with exit code 2