Closed simoncozens closed 2 years ago
Just a note for anyone attempting to train the model on OS X and coming across this error message - due to an issue in torch (see e.g. https://github.com/pyg-team/pytorch_geometric/issues/366) you will need to replace num_workers=batch_size with num_workers=0 in here: https://github.com/yizhiwang96/deepvecfont/blob/e52166bfd5ffbcd4bd705e9a53fc578e1f956673/dataloader.py#L49 (Yes, this will seriously kill performance.)
num_workers=batch_size
num_workers=0
Just a note for anyone attempting to train the model on OS X and coming across this error message - due to an issue in torch (see e.g. https://github.com/pyg-team/pytorch_geometric/issues/366) you will need to replace
num_workers=batch_size
withnum_workers=0
in here: https://github.com/yizhiwang96/deepvecfont/blob/e52166bfd5ffbcd4bd705e9a53fc578e1f956673/dataloader.py#L49 (Yes, this will seriously kill performance.)