08 2020 档案

摘要:```python import numpy as np def focalloss(p, y, gamma=5): # https://blog.csdn.net/JNingWei/article/details/80038594 # https://www.cnblogs.com/king-lp 阅读全文
posted @ 2020-08-28 16:14 bregman 阅读(260) 评论(0) 推荐(0) 编辑
摘要:在 tf115 版本下, 通过ipython测试tf语法, 使用tab键提示会出现很多 warning, 干扰使用. 没有好办法, 如下解决: tf.logging.set_verbosity(tf.logging.ERROR) 更好的办法 from tensorflow.python.util i 阅读全文
posted @ 2020-08-24 14:58 bregman 阅读(156) 评论(0) 推荐(0) 编辑
摘要:* 切片函数 * tf.gather * tf.boolean_mask 阅读全文
posted @ 2020-08-13 20:00 bregman 阅读(212) 评论(0) 推荐(0) 编辑
摘要:(tf115) [xxxxx@macpro pai_tf_model] $ ~/.local/bin/jupyter-console import tensorflow as tf A = tf.SparseTensor(indices=[[0, 0], [1, 2]], values=[1, 2] 阅读全文
posted @ 2020-08-06 16:01 bregman 阅读(141) 评论(0) 推荐(0) 编辑
摘要:``` pip install ortools --user cd /root/.local/lib/python3.6/ zip -r ortools.zip site-packages ``` 阅读全文
posted @ 2020-08-04 18:36 bregman 阅读(718) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示