Skip to content

训练的速度越来越慢的原因 #30

Open
@13253618903

Description

您好,打扰了,在多轮训练中,训练速度会越来越慢,epoch每增加1,训练时间便会增加一些,并消耗大量内存。
当我使用Oxford building数据集训练模型时,在训练数据到大概10000张,会出现如下报错:
cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\core\src\alloc.cpp:73: error: (-4:Insufficient memory) Failed to allocate 3145728 bytes in function 'cv::OutOfMemoryError'
定位为:load_data中的kp1, descs1 = sift.detectAndCompute(image, None)
非常希望您能解答我的问题,如果您方便的话可以加我的微信:13253618903,非常期待和您交流,最后再次表达对您开源本项目的谢意。

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions