bipedalBit

Results comments of bipedalBit

You should notice this, **"UserWarning: Tensorflow 2.0.0-alpha0 is not tested!"**

Even if open another terminal and run a python script including following code? ``` from bert_serving.client import BertClient bc = BertClient() res = bc.encode(['Hello world!']) print(res) ```

> > Even if open another terminal and run a python script including following code? > > ``` > > from bert_serving.client import BertClient > > bc = BertClient() >...

模型保存目录下,参数文件名与我的命名并不相同,显然是自动参数命名。

```python def conv_bn_layer(input, num_filters, filter_size, stride=1, groups=1, act=None, name=''): conv = fluid.layers.conv2d( input=input, num_filters=num_filters, filter_size=filter_size, stride=stride, padding=(filter_size - 1) / 2, groups=groups, act=None, param_attr=fluid.param_attr.ParamAttr( initializer=fluid.initializer.MSRA()), bias_attr=False, name=(name + '_conv')) return...

发现问题出在训练脚本的命令行参数解析阶段,谢谢。

``` blocks { idx: 0 parent_idx: -1 vars { name: "top_k_0.tmp_0" type { type: LOD_TENSOR lod_tensor { tensor { data_type: FP32 dims: -1 dims: 1 } lod_level: 0 } }...

找到问题了 ```python optimizer = fluid.optimizer.Adamax(learning_rate=self.lr) optimizer.minimize(avg_cost) ``` 优化器调用一定要在模型初始化 ```python exe = fluid.Executor(fluid.CPUPlace()) exe.run(fluid.default_startup_program()) ``` 之前。