daiwk
daiwk
how can I use the checkpoint to generate images? e.g. I wanna ` saver.restore(sess, ckt_path) ``` print("restored") x, _ = self.dataset.test.next_batch(self.batch_size) feed_dict = {self.input_tensor: x} sess.run(init) print("testing.....") z_var = self.model.latent_dist.sample_prior(self.batch_size)...
https://github.com/NVIDIA/TensorRT-LLM/blob/v0.10.0/examples/recurrentgemma/README.md it seems that all demos are using ```--use_py_session```, dose it mean that recurrentgemma dosen't support ModelRunnerCpp? RecurrentGemma doesn't support ModelRunnerCpp?
### 🐛 Describe the bug https://github.com/CarperAI/trlx/blob/main/trlx/trlx.py#L140 this ```load``` function may be called after ```prepare``` in https://github.com/CarperAI/trlx/blob/main/trlx/trainer/accelerate_base_trainer.py#L86 according to https://huggingface.co/docs/accelerate/usage_guides/checkpoint this may cause the loading not work actually, such as deepspeed...
## Please let us know which model this issue is about (specify the top-level directory) it says 'The 'build' command is only supported from within a workspace.'
## Please let us know which model this issue is about (specify the top-level directory) the reference _A Neural Attention Model for Sentence Summarization_ is a model of nnlm&cnn, apperantly...
Could this official repository https://github.com/tensorflow/tensor2tensor support bert?
I think this line should be commented, https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/plot/plot.py#L73 so that, we can ``` cost_ploter = Ploter(train_title, test_title) cost_ploter.plt.savefig('xx.png') ```
例如,我想输出最后的prob以及中间的一个embedding,模型结构中: ```python def topology(dict_dim, class_num, is_infer=True): data = paddle.layer.data("word", paddle.data_type.integer_value_sequence(input_dim)) emb = paddle.layer.embedding(input=data, size=emb_dim) # ... output = paddle.layer.fc( input=[fc_last, lstm_last], size=class_dim, act=paddle.activation.Softmax(), bias_attr=bias_attr, param_attr=para_attr) if is_infer: return output, emb...
 为何画出的模型结构图有fc_3和fc_4两个全连接层呢?我理解应该是不是只要一个就够了呢? 