gpt4 book ai didi

python-3.x - semaphore_tracker : There appear to be 1 leaked semaphores to clean up at shutdown len(cache))

转载 作者:行者123 更新时间:2023-12-04 13:43:48 26 4
gpt4 key购买 nike

我通过python3.6运行了一个autokeras代码。
训练一个模型后有这样的警告:

Saving model.                                                              
+--------------------------------------------------------------------------+
| Model ID | Loss | Metric Value |
+--------------------------------------------------------------------------+
| 0 | 48.8651391018182 | 0.9489116312994325 |
+--------------------------------------------------------------------------+
/usr/local/lib/python3.6/multiprocessing/semaphore_tracker.py:143: UserWarning: semaphore_tracker: There appear to be 1 leaked semaphores to clean up at shutdown
len(cache))

我的训练代码:
clf = ImageClassifier(verbose=True)
clf.fit(x_train, y_train, time_limit=72*60*60)
clf.final_fit(x_train, y_train, x_test, y_test, retrain=True)
y = clf.evaluate(x_test, y_test)
print(y)

最佳答案

好像是autokeras的bug。github中的issue是here .

关于python-3.x - semaphore_tracker : There appear to be 1 leaked semaphores to clean up at shutdown len(cache)),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52547276/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com