腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(47)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
0
回答
Keras图像数据生成器抛出没有找到文件?
批量计算
、
编程算法
、
keras
20,) print('data batch
shape
:',data_batch.
shape
) breakFound 0 imagesFound 0 images belongin
浏览 265
提问于2020-07-22
0
回答
有小伙伴帮我分析一下吗?为什么相同的数据,pytorch的结果和megengine差别很大呢??
bash
、
bash 指令
、
pytorch
as Mx_ww = tensor(xx)x_ww = x_ww.reshape(5, 3, 3, 1, 1)print(y_mm.
shape
) mm = y_
浏览 385
提问于2021-04-03
0
回答
tf numpy 与 Keras Functional API 的使用问题?
api
、
numpy
、
keras
inp1 = keras.layers.Input(
shape
=(1,), name="inp1")m = keras.Model([inp1, inp2], out) Cannot interpret '<KerasTensor:
shape
浏览 246
提问于2021-10-05
0
回答
Python如何实现一个系数矩阵的拟合?
python
、
bash
、
bash 指令
、
图像处理
一个矩阵存有1200个4*4小图块的灰度直方图,每个小图块对应8个灰度级,储存在a.
shape
=(1200,8)里。其中有一部分像素点是前景1,一部分是背景0,储存在c.
shape
=(1200,1)里。现在需要求一个b.
shape
=(8,1)的矩阵,使np.dot(a,b)=c,但是我把a和c带入curve_fit(fun,a,c)拟合函数后报错,不知道是不是函数输入只能是一维矩阵。
浏览 611
提问于2019-06-20
0
回答
如何在keras.LSTM完成不定长的三维数据输入?
机器学习
、
tensorflow
、
python
、
神经网络
、
深度学习
数据 x,y,每个数据都是[1*(30+k)*61],和[1*k*63]维度的,部分数据的
shape
如下。 def get_model1(self, hidden_units, k): model = keras.Sequential([
浏览 411
提问于2021-09-14
0
回答
python numpy 如何使用Blinear插值 三维矩阵?
python
、
编程算法
、
numpy
import numpy as nplr_
shape
= (128, 128, 75)hr_y = np.ones((256, 128, 150))merged = np.zeros(hr_
shape
) merged[
浏览 840
提问于2020-04-14
1
回答
无法使用OCC搭配VTK实现显示STP?
c++
、
ide
NbRoots = reader.NbRootsForTransfer(); TopoDS_
Shape
result = reader.OneShape(); vtkSmartPointer
浏览 406
提问于2022-12-31
1
回答
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()?
python
、
element
、
valueerror
、
统计
im_height = dataset.RasterYSizeprint(im_data.
shape
) # 遍历影像中的每一个像元的像元值for i in range(im_data.
shape
[0]): # print(j) data.append(im
浏览 582
提问于2023-12-27
0
回答
ValueError?
python
、
input
、
valueerror
接收:input_
shape
=[(无,16,16,128),(无,6,8,8,12)怎么解决
浏览 101
提问于2024-05-25
0
回答
YoloV3使用anchor数量是否可以自设?
tensorflow
、
神经网络
、
深度学习
or tiny_yolo_body anchors: array,
shape
# anchor_mask = [[6,7,8], [3,4,5], [0,1,2]] if num_layers==3 else [[3,4,5], [1,2,3]] input_
shape
= K.cast(K.
shape
(yolo_outputs[0])[1:3] * 32, K.dtype(y_true[0])) #
浏览 4591
提问于2018-10-10
0
回答
有哪个老师可以把这个指标改赢顺文华6的指标呢?
input
、
location
、
plot
、
size
、
title
up : na, title="UpTrend Begins", location=location.absolute, style=
shape
.circle, size=size.tiny, colorup : na, title="Buy", text="Buy", location=location.absolute, style=
shape
.labelup, size=size.tiny, colordn : na, title="DownTrend Begins", l
浏览 396
提问于2020-03-28
0
回答
TensorFlow:图表已完成,无法修改?
tensorflow
=[None,28*28],dtype=tf.float32) # 输入样本像素为28*28 # x_
shape
= x.get_
shape
().as_list() # x_reshaped = tf.reshape(x, [-1,length]) y_= tf.placeholder(name="y-input",
shape
=[None,10],dty
浏览 348
提问于2020-06-25
0
回答
Python出现返回值错误,最大化拉格朗日函数求解出现ValueError: The user-provided objective function must return a scalar value?
python
、
function
、
valueerror
、
函数
、
优化
constraint = ({'type': 'eq', 'fun': lambda delta: np.sum(delta) - 1})initial_delta = np.ones(F.
shape
[0]) / F.
shape
[0]result = minimize(fun=lambda delta: lagrange_function(delta, lambda_p),
浏览 245
提问于2024-03-10
0
回答
python代码报错KeyError:-1,请问如何解决?
tensorflow
、
python
、
keras
、
audio
、
python-3.6
audio, sr, numcep=mfcc_dim, nfft=551)print(X_data.
shape
)pred_ids = K.eval(K.ctc_decode(pred, [X_data.
shape
浏览 370
提问于2024-04-27
0
回答
先将tensorflow2.4cpkt转为.pb模型。再将.pb模型转为.tflite时报错?
tensorflow
、
python
、
android
、
android studio
["Placeholder","Placeholder_4","is_train"]converter = tf.lite.TFLiteConverter.from_frozen_graph(path, inputs, outputs,input_tensor_
shape
浏览 266
提问于2022-12-28
0
回答
KeyError:1 python ID3算法?
机器学习
、
神经网络
、
人工智能
、
编程算法
、
决策树
describe_partitions(ps): print(f"{target}\t{p.
shape
["target"]: """ total = data["target"].
shape
for p in ps.value
浏览 502
提问于2019-10-27
0
回答
自定义shp文件与原数据不能正常叠加,投影设置如何修改?
python
、
bash
、
bash 指令
、
html5
print(f.keys())print(max(b))a = f["NOMChannel12"][:]for i in range(len(b)):print(d.max())print(d.
shape
浏览 466
提问于2020-03-17
第 2 页
第 3 页
点击加载更多
领券