skywalkerfmc
skywalkerfmc
> > > Hi @gouttham, can you provide me with the code to convert the KIE model to onnx format? Thank you so much! > > Sorry for late reply...
ubuntu系统下面,先执行下面这条命令, 然后再安装pyaudio `sudo apt-get install portaudio19-dev python-all-dev python3-all-dev`
> 谢谢分享! > 有个数据加载代码方面的问题,在_voc_train.py文件中有下面一段代码: > 数据集= VOCDataset(hyper_params) > 的DataLoader = data.DataLoader( > 数据集 > 的batch_size = self.mini_batch_size, > 洗牌=真, > drop_last =正确, > num_workers = hyper_params.nworkers,如果self.cuda else 0, > pin_memory...
可以直接在配置文件里面增加pretrained参数 model = dict( type='ImageClassifier', pretrained = 'convnextv2/convnext-v2-tiny_3rdparty-fcmae_in1k_20230104-80513adc.pth', backbone=dict( type='ConvNeXt', arch='tiny', drop_path_rate=0.1, layer_scale_init_value=0., use_grn=True, ),
> glm4v的代码是最新的嘛 微调的时候自动下载的
> sh发一下吧,我复现一下 CUDA_VISIBLE_DEVICES=0,1 swift sft \ --model_type glm4v-9b-chat \ --dataset /home/fangmc/code/project/mlm_project/pure_text.jsonl /home/fangmc/code/project/mlm_project/vqa_data.jsonl \ --max_length 4096 \ --num_train_epochs 2
> 好像连纯文本的inference也不支持? 支持的
I have encountered the same problem.
> 支持。见 https://github.com/QwenLM/Qwen-Agent/blob/main/examples/function_calling_in_parallel.py#L68 这个demo里面是用户说一句话让同一个工具调用多次;我想要的是用户说一句话调用多个工具。 下面是我的demo: ``` # Example: Calling Multiple Functions in Parallel # Reference: https://platform.openai.com/docs/guides/function-calling import json import os from qwen_agent.llm import get_chat_model # Example dummy function hard coded...
Same issue