mateuszwyszynski / PoseNDF

Implementation of Pose-NDF: Modeling Human Pose Manifolds with Neural Distance Fields
Other
0 stars 0 forks source link

automatically detect number of workers #10

Open mateuszwyszynski opened 6 months ago

mateuszwyszynski commented 6 months ago

Currently there is a predefined default value assigned to the number of workers in various places in the code, e.g.:

This causes a warning if the machine has a different number of workers. While having this as a parameter inside the config file is acceptable, a hard-coded value inside function or class definition is not. I believe this can be simply automatically detected by the system. It would be perfect if we can design it this way.