JARVIS icon indicating copy to clipboard operation
JARVIS copied to clipboard

unable to start in any mode, lil help?

Open namastexlabs opened this issue 1 year ago • 5 comments

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 image_2023-04-18_041454823

apreciate some help.

thanks Felipe

namastexlabs avatar Apr 18 '23 07:04 namastexlabs

Have you tried changing 'inference_mode' to huggingface from local or hybrid? It is in 'config.default.yaml' file.

DahaeKimEsther avatar Apr 24 '23 00:04 DahaeKimEsther

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: @.***>

namastexlabs avatar Apr 25 '23 16:04 namastexlabs

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

Aaryan369 avatar Apr 26 '23 08:04 Aaryan369

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: @.***>

namastexlabs avatar Apr 26 '23 15:04 namastexlabs

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 pipes = load_pipes(local_deployment) File "/home/[USERNAME]/ai-apps/JARVIS/server/models_server.py", line 335, in load_pipes "control": ControlNetModel.from_pretrained(f"{local_fold}/lllyasviel/sd-controlnet-seg", torch_dtype=torch.float16), File "/home/[USERNAME]/miniconda3/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 534, in from_pretrained model_file = _get_model_file( File "/home/[USERNAME]/miniconda3/lib/python3.10/site-packages/diffusers/utils/hub_utils.py", line 272, in _get_model_file raise EnvironmentError( OSError: Error no file named diffusion_pytorch_model.bin found in directory models/lllyasviel/sd-controlnet-seg

namastexlabs avatar Apr 28 '23 02:04 namastexlabs