![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
Twig程
Make more time.
展开
-
最新Pip镜像(2020年6月30日更新)
问题:WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’<pip._vendor.urllib3.connection.HTTPConnection object at 0x7fc7fed99400>: Failed to establish a new connection原创 2020-06-30 20:50:16 · 683 阅读 · 0 评论 -
Keras多输出(多任务)如何设置fit_generator
在使用Keras的时候,因为需要考虑到效率问题,需要修改fit_generator来适应多输出# create modelmodel = Model(inputs=x_inp, outputs=[main_pred, aux_pred])# complie modelmodel.compile( optimizer=optimizers.Adam(lr=learning_rate)...原创 2019-12-10 21:44:04 · 2985 阅读 · 1 评论