Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Drive Permission Error when running ns-download-data nerfstudio --capture-name=poster #3134

Open
branyang02 opened this issue May 10, 2024 · 4 comments

Comments

@branyang02
Copy link

Describe the bug
Running ns-download-data nerfstudio --capture-name=poster results in a gdown google drive permission error.

To Reproduce
Steps to reproduce the behavior:

  1. Run ns-download-data nerfstudio --capture-name=poster after installation.

Expected behavior
Download Data

Screenshots
image

@NishanthARao
Copy link

NishanthARao commented May 11, 2024

Hi, I had the same issue.
However, they have updated the link for the poster dataset here:
#3045

For convenience, I have posted the Gdrive link here:
https://drive.google.com/file/d/1FceQ5DX7bbTbHeL26t0x6ku56cwsRs6t/view?usp=sharing

But if you installed using pip command, this link may not be updated in the files. You will have to manually replace the above link in a file called download_data.py file whose path (atleast in my system!) is:
/home/user/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/nerfstudio/scripts/downloads/download_data.py
(I used conda here)

Even simpler You can directly download the folder and place it in the data/nerfstudio folder (for me, it was in the home directory itself on Ubuntu).

This solved the issue for me. Hope this helps!

@spicelion1802
Copy link

The new Google drive link is the same as what is already in the download_data.py file. I tried updating the link manually but it did not work.

@NishanthARao
Copy link

NishanthARao commented May 12, 2024

The above link is different from the link shown in the screenshot. Anyways, can you download the files from the google drive and manually place the "poster" folder in the datasets folder? I think that Gdrive link also has a "_MACOSX" folder, and the code cannot parse it. That solved the error for me.

@spicelion1802
Copy link

Other datasets like dozer work but poster does not. I just to get a trial model up and running but atfer downloading the dataset for dozer I run into the following issues when I try to train the model:

$ns-train nerfacto --pipeline.model.predict-normals True --data data/nerfstudio/dozer$

It throws the following error:
$OSError: [Errno 22] Invalid argument
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\sr218\anaconda3\envs\nerfstudio\lib\site-packages\multiprocess\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "C:\Users\sr218\anaconda3\envs\nerfstudio\lib\site-packages\multiprocess\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "C:\Users\sr218\anaconda3\envs\nerfstudio\lib\site-packages\dill_dill.py", line 289, in load
return Unpickler(file, ignore=ignore, **kwds).load()
File "C:\Users\sr218\anaconda3\envs\nerfstudio\lib\site-packages\dill_dill.py", line 444, in load
obj = StockUnpickler.load(self)
_pickle.UnpicklingError: pickle data was truncated
Exception ignored in: <function ParallelDataManager.del at 0x0000015E63D83430>
Traceback (most recent call last):
File "C:\Users\sr218\anaconda3\envs\nerfstudio\lib\site-packages\nerfstudio\data\datamanagers\parallel_datamanager.py", line 339, in del
proc.terminate()
File "C:\Users\sr218\anaconda3\envs\nerfstudio\lib\site-packages\multiprocess\process.py", line 133, in terminate
self._popen.terminate()
AttributeError: 'NoneType' object has no attribute 'terminate'$

Any help is appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants