程序报错修改备案
yyuwang_
我很懒,什么也没有留下~
展开
-
optuna中将study.pkl转化为study.db 以及其他版本升级兼容问题
因为Optuna 目前分布式训练只能在.db文件下进行,所以需要将现在已经保存过的.pkl文件转化为.db文件,经过在Github上询问,得到如下思路:首先,训练一个study,保存为.pkl文件:import optunaimport joblibdef objective(trial): x = trial.suggest_float("x", -1, 1) return x ** 2study = optuna.create_study()study.optimi原创 2021-03-16 16:44:29 · 371 阅读 · 0 评论 -
Neurokit2 警告VisibleDeprecationWarning
在使用neurokit2时候,会出现如下warning: miniconda3/envs/py38/lib/python3.7/site-packages/neurokit2/eda/eda_findpeaks.py:289: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with d.原创 2021-03-16 20:16:33 · 560 阅读 · 0 评论 -
python ray框架ulimit 报错
python ray框架ulimit 报错问题描述:In [1]: import rayIn [2]: ray.init()File descriptor limit 2560 is too low for production servers and may result in connection errors. At least 8192 is recommended. --- Fix with 'ulimit -n 8192'2021-03-05 18:55:06,750 INFO原创 2021-03-06 04:01:43 · 918 阅读 · 1 评论