Skip to content

data_source_from_config remove from relearn,but code not change #514

@xygnms66

Description

@xygnms66

Successfully installed rslearn-0.0.19
(olmoearth-pretrain) root@iZ1pp06g2kc1q803pebt5iZ:/home/olmo_earth/olmoearth_pretrain# python -m olmoearth_pretrain.dataset_creation.create_windows.from_lon_lat_list --ds_path dataset/ --fname long.json
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/olmo_earth/olmoearth_pretrain/olmoearth_pretrain/dataset_creation/create_windows/from_lon_lat_list.py", line 8, in
from .util import create_windows_with_highres_time
File "/home/olmo_earth/olmoearth_pretrain/olmoearth_pretrain/dataset_creation/create_windows/util.py", line 17, in
from rslearn.data_sources import DataSource, data_source_from_config
ImportError: cannot import name 'data_source_from_config' from 'rslearn.data_sources' (/home/olmo_earth/olmoearth_pretrain/.venv/lib/python3.12/site-packages/rslearn/data_sources/init.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions