Open namastexlabs opened 1 year ago
Have you tried changing 'inference_mode' to huggingface from local or hybrid? It is in 'config.default.yaml' file.
I hadn't, cause I didn't have enough bandwidth to download the models, reason why I wanted to try it that way.
I'll try to download them when I have access to faster internet.
Thanks
Em dom., 23 de abr. de 2023 21:36, DahaeKimEsther @.***> escreveu:
Have you tried changing 'inference_mode' to huggingface from local or hybrid? It is in 'config.default.yaml' file.
— Reply to this email directly, view it on GitHub https://github.com/microsoft/JARVIS/issues/167#issuecomment-1519214407, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3Y3N24U3KXWVD6T5UQYLPDXCXDIDANCNFSM6AAAAAAXCGIHIA . You are receiving this because you authored the thread.Message ID: @.***>
Not sure if this is what you are looking for, but, If you change the inference_mode parameter to huggingface, you wouldn't need to download any models into the local machine. The models will run using the HuggingFace API.
Change below in 'configs/config.default.yaml':
inference_mode: huggingface
I already had done this, and it wouldn't start.. thanks anyways.
I'm trying to download the models and see what happens (been a week lol)
Thanks
Em qua., 26 de abr. de 2023 05:34, Aaryan YVS @.***> escreveu:
Not sure if this is what you are looking for, but, If you change the inference_mode parameter to huggingface, you wouldn't need to download any models into the local machine. The models will run using the HuggingFace API.
Change below in 'configs/config.default.yaml': inference_mode: huggingface
— Reply to this email directly, view it on GitHub https://github.com/microsoft/JARVIS/issues/167#issuecomment-1523005114, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3Y3N27NC4VVQ4BOYS6X4PTXDDMYTANCNFSM6AAAAAAXCGIHIA . You are receiving this because you authored the thread.Message ID: @.***>
still doesnt run, tried full and standard mode (been downloading the models for days now, lol), this is the most far I've gotten:
$ python models_server.py --config configs/config.yaml
Some weights of DPTForDepthEstimation were not initialized from the model checkpoint at models/Intel/dpt-large and are newly initialized: ['neck.fusion_stage.layers.0.residual_layer1.convolution2.bias', 'neck.fusion_stage.layers.0.residual_layer1.convolution2.weight', 'neck.fusion_stage.layers.0.residual_layer1.convolution1.bias', 'neck.fusion_stage.layers.0.residual_layer1.convolution1.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.
Downloading: "https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth" to /home/[USERNAME]/.cache/torch/hub/checkpoints/resnet50_a1_0-14fe96d1.pth
Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.
Downloading: "https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet101_a1h-36d3f2aa.pth" to /home/[USERNAME]/.cache/torch/hub/checkpoints/resnet101_a1h-36d3f2aa.pth
Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.
Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.
Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.
Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.
text_config_dict is provided which will be used to initialize CLIPTextConfig. The value text_config["id2label"] will be overriden.
Traceback (most recent call last):
File "/home/[USERNAME]/ai-apps/JARVIS/server/models_server.py", line 343, in
ive been trying to get jarvis to work, was able to install all dependencies, but it wont run with errors related to hugginface. i tried changing / reseting api keys, no luck.
heres the command output
apreciate some help.
thanks Felipe