腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(24)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
SAP云平台通过CF CLI部署MTAR
command name command helpmultiapps 2.1.1 deploy Deploy a new
multi-target
app operation multiapps 2.1.1 mta
浏览 24
提问于2019-06-11
得票数 0
回答已采纳
1
回答
nn.CorssEntropyLoss文档示例不正确吗?
softmax(dim=1)print(output)RuntimeError: 1D target tensor expected,
multi-target
浏览 6
提问于2022-05-10
得票数 0
回答已采纳
1
回答
pytorch python中无法使用多目标损失函数
return lossmodel.loss(model(xtrain),ytrain)RuntimeError: 1D target tensor expected,
multi-target
浏览 6
提问于2021-09-24
得票数 0
1
回答
如何使用带交叉熵损失的单热编码?
9 op.zero_grad() ***RuntimeError: 1D target tensor expected,
multi-target
浏览 3
修改于2020-05-11
得票数 1
回答已采纳
1
回答
为什么损失函数总是在第一阶段之后返回零?
但是如果我使用loss = loss_fn(outputs, labels),我将得到错误 RuntimeError: 0D or 1D target tensor expected,
multi-target
浏览 5
修改于2021-12-01
得票数 1
回答已采纳
2
回答
pytorch中3D语义分割的示例CrossEntropyLoss
当尝试使用torch.nn.CrossEntropyLoss()计算交叉熵损失时,我一直收到以下错误消息: RuntimeError:
multi-target
not supported at ...
浏览 0
提问于2017-12-08
得票数 2
1
回答
pytorch:“不支持多目标”错误消息
现在,在添加了这两个东西之后,我得到了那个错误: loss = criterion(output, target.squeeze(1)) # ERROR MESSAGE: RuntimeError:
multi-target
浏览 13
修改于2021-07-10
得票数 18
回答已采纳
1
回答
使用pytorch tensorDataset类时的“一维目标张量期望”误差
target, weight, _Reduction.get_enum(reduction), ignore_index) RuntimeError: 1D target tensor expected,
multi-target
浏览 1
修改于2021-10-08
得票数 1
回答已采纳
1
回答
火炬分类中交叉熵损失的计算
我试图使用torch.nn.CrossEntropyLoss()作为损失函数,但是我尝试训练我的第一个神经网络,我得到以下错误:
multi-target
not supported at /opt/conda
浏览 0
提问于2019-09-23
得票数 2
回答已采纳
1
回答
如何训练变压器顶部的模型以输出序列?
_nn.nll_loss(input, target, weight, _Reduction.get_enum(reduction), ignoRuntimeError:
multi-target
浏览 0
提问于2020-10-30
得票数 2
回答已采纳
2
回答
在nn.crossentropyloss中将期望更改为多维而不是一维
target, weight, _Reduction.get_enum(reduction), ignore_index) RuntimeError: 1D target tensor expected,
multi-target
浏览 59
提问于2020-07-01
得票数 0
回答已采纳
2
回答
关于torch.nn.CrossEntropyLoss参数形状
torch.LongTensor(numpy.array(targets.data.numpy(),numpy.long))RuntimeError:
multi-target
浏览 3
修改于2020-02-12
得票数 2
1
回答
简略神经网络中的pytorch交叉熵误差
optimizer.zero_grad()loss.backward()然后我会收到这样的信息 RuntimeError:
multi-target
浏览 1
修改于2018-12-01
得票数 1
回答已采纳
3
回答
Pytorch RuntimeError:"host_softmax“未为”torch.cuda.LongTensor“实现
torch.cuda.FloatTensor for argument #2 'target'loss = nn.CrossEntropyLoss()(out, y.long())RuntimeError:
multi-target
torch.cuda.LongTensor'loss = nn.CrossEntropyLoss()(out.float(), y.long())RuntimeError:
multi-target
浏览 1
修改于2018-08-13
得票数 10
回答已采纳
2
回答
将目录复制到多个目录- I/O性能问题
/usr/bin/python Pythonic implementation of
multi-target
copy (Parallel Copy). time.sleep(0.5) """ Implementation to do
multi-target
浏览 0
修改于2016-04-12
得票数 2
1
回答
一维目标张量期望,多目标不支持
Reduction.get_enum(reduction), ignore_index) 2826 RuntimeError: 1D target tensor expected,
multi-target
浏览 0
提问于2021-08-29
得票数 1
回答已采纳
2
回答
用CrossEntropyLoss实现多目标误差
_nn.nll_loss2d(input, target, weight, _Reduction.get_enum(reduction), ignore_index) RuntimeError:
multi-target
浏览 8
修改于2020-04-01
得票数 0
1
回答
pytorch LSTM将一系列特征向量映射到其标注
self.model.parameters(), 0.25) self.model.train() 但是我得到了错误:RuntimeError:
multi-target
浏览 3
修改于2021-05-24
得票数 0
1
回答
RuntimeError:需要1D目标张量,不支持多目标Pytorch
在模型中,我希望给定一个784的向量,该模型将输出一个具有概率的热向量,但一旦我的代码到达计算损失,我就会得到以下错误: RuntimeError: 1D target tensor expected,
multi-target
浏览 398
提问于2021-07-01
得票数 0
1
回答
RuntimeError:需要1D目标张量,不支持多目标Python: NumPy
target, weight, _Reduction.get_enum(reduction), ignore_index) RuntimeError: 1D target tensor expected,
multi-target
浏览 72
修改于2021-03-22
得票数 1
第 2 页
领券