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

Cannot Download #37

Open
resurgo97 opened this issue Jan 2, 2025 · 0 comments
Open

Cannot Download #37

resurgo97 opened this issue Jan 2, 2025 · 0 comments

Comments

@resurgo97
Copy link

resurgo97 commented Jan 2, 2025

Hi, I appreciate your work and would like to use your dataset for my research.
However, I cannot proceed to download the dataset with the following error:

/opt/conda/lib/python3.10/site-packages/kornia/feature/lightglue.py:44: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead.
  @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
TartanAir toolbox initialized.
TEST ERROR(download): azure_token is None. Please pass a valid azure_token to the init function. This will no longer be necessary when TartanAir will be officially released.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[1], line 8
      5 ta.init(tartanair_data_root)
      7 # Download a trajectory.
----> 8 ta.download(env = "ArchVizTinyHouseDay",
      9             difficulty = ['easy'], # this can be 'easy', and/or 'hard'
     10             modality = ['image', 'depth', 'pose'], # available modalities are: image', 'depth', 'seg', 'imu', 'lidar', 'flow', 'pose'
     11             camera_name = ['lcam_front', 'lcam_left', 'lcam_right', 'lcam_back', 'lcam_top', 'lcam_bottom'])

File /opt/conda/lib/python3.10/site-packages/tartanair/tartanair.py:94, in download(env, difficulty, trajectory_id, modality, camera_name, config)
     92 global downloader
     93 check_init()
---> 94 downloader.download(env, difficulty, trajectory_id, modality, camera_name, config)

File /opt/conda/lib/python3.10/site-packages/tartanair/downloader.py:114, in TartanAirDownloader.download(self, env, difficulty, trajectory_id, modality, camera_name, config, **kwargs)
    108 # Check that the inputs are valid.
    109 # TODO(yoraish).
    110 
    111 # Download the trajectories.
    112 for env_i in env:
    113     # Start by downloading the trajectory's analyze folder txt files in full.
--> 114     self.download_analyze(env_i)
    116     for difficulty_i in difficulty:
    117         for trajectory_id_i in trajectory_id:
    118 
    119             # Download the trajectory.
    120             # Source.

File /opt/conda/lib/python3.10/site-packages/tartanair/downloader.py:219, in TartanAirDownloader.download_analyze(self, env)
    213 """Download the analyze folder of a trajectory. It contains text files enumerating the frames that exist in environment trajectories.
    214 
    215 Args:
    216     env (str): The environment name.
    217 """
    218 # Download the analyze folder.
--> 219 azure_url = "https://tartanairv2.blob.core.windows.net/data-raw/" + env + "/analyze/" + self.azure_token
    220 dest_env = os.path.join(self.tartanair_data_root, env)
    222 cmd = './azcopy copy "{}" {} --recursive --as-subdir=true' .format(azure_url, dest_env)

AttributeError: 'TartanAirDownloader' object has no attribute 'azure_token'

Do you not host the dataset anymore?
I will wait for your response.
Thanks.

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

1 participant