jinxing94
jinxing94
In your docker file, it shows FROM tensorflow/tensorflow:latest-gpu
The configs in PCPA.yaml such as learning rate, epochs are different from that in the paper, especially for JAAD_behave, JADD_all datasets. Could you please update the configs for reproducing the...
1) 问题: 对DynamicRNN输入时一个Lod_level=1的tensor, 输出的变量,使用sequence_pad报错。 paddle/fluid/framework.py", line 1058, in __init__ self.desc.infer_shape(self.block.desc) paddle.fluid.core.EnforceNotMet: Enforce failed. Expected x_desc->GetLoDLevel() >= 1, but received x_desc->GetLoDLevel():0 < 1:1. 2) 版本 paddle paddle 1.4.1 3) 代码 ```...
您好, 想使用fluid.layers.equal, 比较的两个变量shape需要broadcast, 尝试expand报错。 代码如下: ```python x1 = fluid.layers.data(name="x1", shape=[2,2,3], dtype='float32') y1 = fluid.layers.data(name="y1", shape=[2,3], dtype='float32') y1 = fluid.layers.unsqueeze(y1, axes = [1]) x1_shape = fluid.layers.shape(x1) y1 = fluid.layers.expand(y1, [1,x1_shape[1],1]) z1...
模型不用optimizer能输出loss, 加上optimizer报错,错误信息如下,求问原因。 exe.run(program.desc, scope, 0, True, True, fetch_var_name) paddle.fluid.core_avx.EnforceNotMet: Invoke operator lod_tensor_to_array error. C++ Callstacks: Enforce failed. Expected rank_level < x.lod().size(), but received rank_level:0 >= x.lod().size():0. Input should be a...
模型在cpu模式下运行没有错误,在gpu模式下不加optimizer也能跑,但是加上optimizer minimize loss就报错。 log信息如下: W0906 09:39:19.449245 93695 device_context.cc:259] Please NOTE: device: 0, CUDA Capability: 70, Driver API Version: 10.1, Runtime API Version: 9.2 W0906 09:39:19.453294 93695 device_context.cc:267] device: 0, cuDNN...
模型在cpu模式下运行没有错误,在gpu模式下不加optimizer也能跑,但是加上optimizer minimize loss就报错。 log信息如下: W0906 09:39:19.449245 93695 device_context.cc:259] Please NOTE: device: 0, CUDA Capability: 70, Driver API Version: 10.1, Runtime API Version: 9.2 W0906 09:39:19.453294 93695 device_context.cc:267] device: 0, cuDNN...
版本信息: python3.6, paddle2.1, cuda 10.2, cudnn8.2, driver 440.33.01 。 >>> paddle.set_device("cpu") CPUPlace >>> emb = paddle.create_parameter([3, 3], dtype="float32") >>> prnit(emb) Traceback (most recent call last): File "", line 1, in...
先用pytorch写了一个gru, 转成onnx, 再使用X2Paddle/onnx2fluid转的时候,报错onnx2fluid/writer.py", line 247, in Op ValueError: conversion for ::ConstantFill not supported