Open cywinski opened 1 year ago
how do i use ml-cvnet?
when i use follow command
export CFG_FILE="config/classification/imagenet/resnet.yaml" cvnets-train --common.config-file $CFG_FILE --common.results-loc classification_results
main_train: Command not found
Original question: it seems to me like you’re running out of memory (RAM) and are getting OOM killed. I’d check the following a) RAM size (free) b) the dataset implementation c) monitor RAM during training.
Second question: you probably need to install the library with pip install -e .
On Fri, Apr 7, 2023 at 4:36 AM tuobaye11 @.***> wrote:
how do i use ml-cvnet? when i use follow command
export CFG_FILE="config/classification/imagenet/resnet.yaml" cvnets-train --common.config-file $CFG_FILE --common.results-loc classification_results
main_train: Command not found
— Reply to this email directly, view it on GitHub https://github.com/apple/ml-cvnets/issues/67#issuecomment-1500208153, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGT6OWWQ6LEUTMMXJDE5R3W7733XANCNFSM6AAAAAAUO7VWVM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi,
I try to train the Mask R-CNN object detection model with EfficientNet B3 as backbone on my custom dataset. I train the model according to the configuration provided here on 2 GPUs with a batch size of 4 per every GPU. I start the training with a command presented here.
When I run the training with
workers
parameter greater than 0 after a couple of epochs/steps I get the following error, after which the training crushes:However, when I set the
workers
to 0, the training seems to work properly but very slowly - I was able to train the model for 23 epochs, where each epoch took over 3 hours.Do you know what might be the cause of this problem?