cj-mills / pytorch-yolox-object-detection-tutorial-code

This repository contains the training code for my PyTorch YOLOX object detection tutorial.
https://christianjmills.com/series/tutorials/pytorch-train-object-detector-yolox-series.html
MIT License
12 stars 2 forks source link

AttributeError: Can't get attribute 'HagridDataset' when running the train_loop function #7

Closed Kalvarin closed 1 month ago

Kalvarin commented 1 month ago

Hi,

File "", line 1, in File "C:\Users\ABC\env\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "C:\Users\ABC\env\lib\multiprocessing\spawn.py", line 126, in _main self = reduction.pickle.load(from_parent) AttributeError: Can't get attribute 'HagridDataset' on <module 'main' (built-in)>

What should I do to fix this? Any help would be much appreciated.

Kalvarin commented 1 month ago

Resolved now. Just realised I wasn't using the notebook you designed for use on Windows, so was running into Windows specific errors.