question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ArchLinux cant push models ! atleast on keras

See original GitHub issue

Describe the bug

push_to_hub_keras(model,“stufuf333”)

and the error I get Traceback (most recent call last): File “/run/aistuff/ai_thing2.py”, line 215, in <module> push_to_hub_keras(model,“sneedger”) File “/home/ori/.local/lib/python3.10/site-packages/huggingface_hub/keras_mixin.py”, line 373, in push_to_hub_keras repo = Repository( File “/home/ori/.local/lib/python3.10/site-packages/huggingface_hub/repository.py”, line 504, in init raise ValueError( ValueError: If not specifying clone_from, you need to pass Repository a valid git clone.

git lfs has issues??

Reproduction

No response

Logs

No response

System Info

Archlinux
python 3.10

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
LysandreJikcommented, Aug 8, 2022

Hey @sneedgers, thanks for opening an issue! As @osanseviero was mentioning, we’ll need a reproducible code example in order to help you out. Please provide the version of your tools, especially the version of huggingface_hub as this is what’s important. Thanks.

0reactions
merveenoyancommented, Sep 6, 2022

I’ll be closing this issue since no reproducible code is given.

Read more comments on GitHub >

github_iconTop Results From Across the Web

v1.1.2 broke `model_from_json()` · Issue #4555 - GitHub
I recently updated to keras v1.1.2 and I can't load a model from json ... import keras with open('/model/best_arch.json', 'r') as fh: arch...
Read more >
No Gradients Provided Keras Tensorflow when nesting Models
I already tried rearranging everything but the error pops up everytime when i call a model and then create another model with the...
Read more >
Multi-class neural net always predicting 1 class after ...
A naive model is one without any features. As a default, it will always predict the most likely Target. Note that this is...
Read more >
How to Install Keras With TensorFlow Backend on Linux
STEP 1: Install and Update Python3 and Pip · STEP 2: Upgrade Setuptools · STEP 3: Install TensorFlow · STEP 4: Install Keras...
Read more >
Exposing DL models as api's/microservices - #21 by spandy - Part 2 ...
The problem is when I try to save the model (entire model) it gives me the following error: Can't pickle local object 'resnext_50_32x4d.<locals>.<lambda>'....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found