allenai / allenai/objaverse-xl

PermissionError on download with objaverse-xl files

Aperta
#55 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
1.4k
Fork
94
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Using the `download_objects()` function results in the error _**PermissionError: [Errno 13] Access is denied**_

After debugging a bit through the objaverse package code, it turned out that the problem is in line 322 of the `github.py` file:
```
shutil.rmtree(os.path.join(target_directory, ".git"))
```

Seems like the `.git` folder is not accessible at this point in time. Not sure if this is a windows-specific or maybe even a os-settings-specific issue is, but it prevents me from using the objaverse package without modifying it, so I wanted to report it here.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.