- 博客(10)
- 资源 (385)
- 问答 (103)
- 收藏
- 关注
原创 tf.nn.conv2d_transpose 实例 及 解析
这个程序完全按照 https://github.com/tensorflow/tensorflow/blob/r0.11/tensorflow/core/kernels/conv_grad_ops.cc#L127 的第一个所写看源码可见conv2d_transpose实际就是计算conv2d_backprop_input// Consider a case where the input is 3x
2016-10-28 12:21:33 14252 5
原创 tensorflow源码解读之gen_array_ops.py文件的space_to_batch_nd方法
这个文件是编译时生成的,在array_ops.py文件的space_to_batch方法调用到。这个操作是atrous_conv2d为了给gen_nn_ops.conv2d传参数之前的参数调整。 而gen_nn_ops.conv2d的input参数一直是[batch, in_height, in_width, in_channels] 例如这里的[1,5,5,1]经过space_to_batch
2016-10-25 15:50:20 3530
原创 tensorflow add操作的一个现象
a = tf.placeholder("float", [None, 3])b = tf.placeholder("float", [3])c = tf.add(a,b)with tf.Session() as sess: print sess.run(c, feed_dict={a: [[1,1,1]], b: [2, 2, 2]}) print sess.run(c, feed_d
2016-10-25 11:23:27 2049
原创 tf.nn.atrous_conv2d 实例
import numpy as npimport tensorflow as tfx_image = tf.placeholder(tf.float32,shape=[5,5])x = tf.reshape(x_image,[1,5,5,1])#Filter: WW_cpu = np.array([[3,1,1],[0,-2,0],[0,-1,1]],dtype=np.float32)W =
2016-10-24 15:20:42 4258
原创 python flask mysql request 实例
# -*- coding:utf-8 -*-from flask import Flask, jsonifyfrom flask import request#pip install Flask-MySQL# #https://github.com/cyberdelia/flask-mysqlfrom flaskext.mysql import MySQLapp = Flask(__nam
2016-10-21 15:24:48 1717
原创 tf.select 实例
使用tf.select实现eluelu = lambda x: tf.select(x < 0., tf.exp(x) - 1., x)sess.run(tf.gradients(elu(z), z), {z: -1.})sess.run(tf.gradients(elu(z), z), {z: 1.})
2016-10-20 10:53:17 1983
原创 tensorflow 二阶导数计算
http://stackoverflow.com/questions/38200982/how-to-compute-all-second-derivatives-only-the-diagonal-of-the-hessian-matrix
2016-10-19 20:16:48 4344
原创 gensim Word2Vec 处理中文 KeyError
model = gensim.models.Word2Vec.load_word2vec_format(‘../data/wiki.zh.text.vector’, binary=False) 之后word = model['的']改为word = model[u'的']
2016-10-19 17:33:52 6524
原创 tensorflow reverse_sequence实例
import tensorflow as tfa = tf.constant([[1,2,3], [1,2,3], [1,2,3]])l = tf.constant([2,2,2],tf.int64)b = tf.reverse_sequence(a,seq_lengths=l,batch_dim = 0,seq_dim = 1)c = tf.Print(b,[b],summarize=9)
2016-10-09 15:40:00 3256
原创 ubuntu 安装gdb界面工具DDD
configure报错 The X toolkit library ‘-lXt’ could not be found. The X11 library ‘-lX11’ could not be found Cannot find termcap compatible library 要装这些 sudo apt-get install libmotif-dev sudo apt-ge
2016-10-07 19:38:59 2582 1
huggingface.co/Salesforce/blip-image-captioning-base
2024-08-22
Qwen2-7B 的 model-00004-of-00004.safetensors 的2/2
2024-07-29
Qwen2-7B 的 model-00004-of-00004.safetensors 的1/2
2024-07-29
Qwen2-7B 的 model-00003-of-00004.safetensors 的2/2
2024-07-29
Qwen2-7B 的 model-00003-of-00004.safetensors 的1/2
2024-07-29
Qwen2-7B 的 model-00002-of-00004.safetensors 的2/2
2024-07-28
Qwen2-7B 的 model-00002-of-00004.safetensors 的1/2
2024-07-28
Qwen2-7B 的 model-00001-of-00004.safetensors 的2/2
2024-07-28
Qwen2-7B 的 model-00001-of-00004.safetensors 的1/2
2024-07-28
Qwen2-7B-Instruct 的 model-00004-of-00004.safetensors 的2/2
2024-07-26
Qwen2-7B-Instruct 的 model-00004-of-00004.safetensors 的1/2
2024-07-26
Qwen2-7B-Instruct 的 model-00003-of-00004.safetensors 的2/2
2024-07-26
Qwen2-7B-Instruct 的 model-00003-of-00004.safetensors 的1/2
2024-07-26
Qwen2-7B-Instruct 的 model-00002-of-00004.safetensors 的2/2
2024-07-26
Qwen2-7B-Instruct 的 model-00002-of-00004.safetensors 的1/2
2024-07-26
Qwen2-7B-Instruct 的 model-00001-of-00004.safetensors 的2/2
2024-07-25
Qwen2-7B-Instruct 的 model-00001-of-00004.safetensors 的1/2
2024-07-25
torch-2.3.0+cu118-cp38-cp38-linux-x86-64.whl
2024-06-24
meta-llama-3-8b-instruct 的 model-00004-of-00004.safetensors
2024-05-29
meta-llama-3-8b-instruct 的 model-00003-of-00004.safetensors 的3/3
2024-05-29
meta-llama-3-8b-instruct 的 model-00003-of-00004.safetensors 的2/3
2024-05-29
meta-llama-3-8b-instruct 的 model-00003-of-00004.safetensors 的1/3
2024-05-29
meta-llama-3-8b-instruct 的 model-00002-of-00004.safetensors 的3/3
2024-05-29
meta-llama-3-8b-instruct 的 model-00002-of-00004.safetensors 的2/3
2024-05-29
meta-llama-3-8b-instruct 的 model-00002-of-00004.safetensors 的1/3
2024-05-29
meta-llama-3-8b-instruct 的 model-00001-of-00004.safetensors 的3/3
2024-05-29
meta-llama-3-8b-instruct 的 model-00001-of-00004.safetensors 的2/3
2024-05-29
meta-llama-3-8b-instruct 的 model-00001-of-00004.safetensors 的1/3
2024-05-29
huggingface的bert-base-chinese
2024-03-05
huggingface的bert-base-uncased
2024-03-03
自动驾驶,如何得到方向盘转动的ground truth?
2024-03-18
AlphaGo能超越人类,因为训练时 对于模型的每个输入,都有一个100%正确的答案?
2024-01-16
其实LLM/ChatGPT是否在距离AlphaGo式AI越来越远?
2024-01-16
技术上,ChatGPT要成为 AI医生/AI律师/AI教师 还欠缺哪些能力?
2024-01-11
数学 是且仅是 一种语言和一种工具,不是科学的全部?
2023-12-14
哪些时候用CUDA编程更好?
2023-12-14
用RL做NLP,和 根据那条数据的reward重新标注那条数据 有什么区别?
2022-05-07
没有物理机器人载体,如何在模拟环境里的进行学习和研究机器人?
2022-04-28
2022年了,USB式GPU有哪些进展?
2022-04-28
2022年了,有哪些稳压deepfm的CTR模型?
2022-04-01
CTR模型,如果上线了没效果,这时可以进行哪些分析工作?以及有无必要投入大量时间分析?
2022-03-24
算法工程师如何应对做算法策略的不确定性;比如没效果,这时绩效怎么保证?
2022-03-01
CTR模型必须要有一个测试数据集吗? 训练数据集和测试数据集是同一个,可以吗?
2022-02-25
为啥我感觉现在机器学习模型就是一种模糊匹配工具or相似识别工具?
2022-02-16
因果推断技术靠谱吗,感觉里面的影响因素太多了,所以能实际解决落地问题吗?
2022-02-08
XGB/GBDT/决策树,得出特征重要性的原理是什么?
2022-02-08
强化学习是不是无人驾驶的未来?
2022-02-01
GAN生成图像,弄一个discriminator ,和无D直接生成,区别是?
2022-02-01
哪些互联网公司的管理职级和专业职级是分开的?
2022-01-22
CTR模型的AUC如果比较高,是否其实只是 因为复购行为带来的AUC虚高?
2022-01-17
CTR模型的本质是不是算出 user的哪些特征和item的哪些特征 最匹配?
2022-01-08
人工智能的因果学习(Causal Learning)到底想解决什么问题?
2021-12-17
BYOL里stop-gradient的作用是什么?
2021-12-01
马上2022年了,强化学习+NLP 有了哪些突破?
2021-11-26
马上2022年了,pointer-network现在看来的作用是什么?
2021-11-26
总被主管说文档写的不好怎么办?
2021-11-18
NER任务只有一个类的情况下,BME或者Yes-No的数据预处理方式对结果有影响吗?
2021-11-08
学好数学对于编程的真实增益的性价比到底如何?
2021-11-03
学好数学对于编程的真实增益到底是多少?
2021-11-03
如果说每一个数学公式都在描述一件事情,那么数学公式的推导,是在做什么?
2021-10-26
每个物理公式是否都是在【描述】一个事情?
2021-10-12
求通俗讲讲数学或理论物理进行研究的细节,复杂公式是不是也都是由基础公式而来?
2021-09-14
TA创建的收藏夹 TA关注的收藏夹
TA关注的人