Ashionnal

Results 4 issues of Ashionnal

Chinese: 你好请教一个问题 在label_anchors.py中get_result方法返回的offset_list的shape为(num_anchors, 4), 也就是(8732, 4) 第二维度存放的是xmin, ymin, xmax, ymax, 这4个值是defaultbox的坐标与真值框的偏移值,那么为什么这个是作为在loss中的y_target呢,也就是你代码中reg_loss = train_reg_loss(box_target, box_preds)的box_target,我一直不理解这一块,其他我都懂了,麻烦大佬解答下 English: Hi ask a question The shape of the offset_list returned by the get_result method in...

Chinese: 你好请教一个问题 在label_anchors.py中get_result方法返回的offset_list的shape为(num_anchors, 4), 也就是(8732, 4) 第二维度存放的是xmin, ymin, xmax, ymax, 这4个值是defaultbox的坐标与真值框的偏移值,那么为什么这个是作为在loss中的y_target呢,也就是你代码中reg_loss = train_reg_loss(box_target, box_preds)的box_target,我一直不理解这一块,其他我都懂了,麻烦大佬解答下 English: Hi ask a question The shape of the offset_list returned by the get_result method in...

你好, output_node_names = '' output_graph_def = tf.graph_util.convert_variables_to_constants(sess, sess.graph.as_graph_def(), output_node_names.split(",")) 固化模型的时候需要这个参数,请问这个输出节点是什么呢

### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior 参照官网的教程,自己单独下载了模型,放到了THUDM/chatgpt2-6b下面,然后直接运行 python web_demo.py,进入web页面中输入hello ,直接报错,在控制台中,爆出了Unsupport bi-width相关的错误。 PS:因为我的显卡是12G,所以我在开始的时候单独设置了10,如下,其他都没有动 model = AutoModel.from_pretrained("THUDM/chatglm2-6b", trust_remote_code=True).**quantize(10)**.cuda() ![微信截图_20230703144453](https://github.com/THUDM/ChatGLM2-6B/assets/23193694/8e5d88bc-ae6d-4925-b35a-61181fe9c430)...