Skip to content

/models_visual/model_18 T.h5', errno = 2, error message = 'No such file or directory', #27

@raphael10-collab

Description

@raphael10-collab
(.satclip) (base) root@WorldMap:~/VectorEmbeddingsFromGeoCoordinates/satclip/satclip/GPS2Vec# python Simple_GPS2Vec_Usage.py 
2025-05-20 10:37:30.344648: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1747730250.403358   73897 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1747730250.422926   73897 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
W0000 00:00:1747730250.479041   73897 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1747730250.479139   73897 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1747730250.479150   73897 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
W0000 00:00:1747730250.479157   73897 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once.
2025-05-20 10:37:30.495124: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Traceback (most recent call last):
  File "/root/VectorEmbeddingsFromGeoCoordinates/satclip/satclip/GPS2Vec/Simple_GPS2Vec_Usage.py", line 30, in <module>
    emb = get_gps2vec(np.flip(c.numpy(),1),'',model='visual')
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/VectorEmbeddingsFromGeoCoordinates/satclip/satclip/GPS2Vec/Simple_GPS2Vec_Usage.py", line 21, in get_gps2vec
    geofea = georep(location,modeldir,nrows,ncols,sigma,flag)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/VectorEmbeddingsFromGeoCoordinates/satclip/satclip/GPS2Vec/gps2vec.py", line 148, in georep
    f = h5py.File(model_weights_file, 'r')
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/VectorEmbeddingsFromGeoCoordinates/satclip/.satclip/lib/python3.12/site-packages/h5py/_hl/files.py", line 564, in __init__
    fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/VectorEmbeddingsFromGeoCoordinates/satclip/.satclip/lib/python3.12/site-packages/h5py/_hl/files.py", line 238, in make_fid
    fid = h5f.open(name, flags, fapl=fapl)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5f.pyx", line 102, in h5py.h5f.open
FileNotFoundError: [Errno 2] Unable to synchronously open file (unable to open file: name = '/models_visual/model_18 T.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)



    (.satclip) (base) root@WorldMap:~/VectorEmbeddingsFromGeoCoordinates/satclip/satclip/GPS2Vec# ls -lah
    total 52K
    drwxr-xr-x 7 root root 4.0K May 20 10:35 .
    drwxr-xr-x 7 root root 4.0K May 20 10:35 ..
    drwxr-xr-x 8 root root 4.0K May 20 09:55 .git
    -rw-r--r-- 1 root root 1.6K May 20 09:55 README.md
    -rw-r--r-- 1 root root  752 May 20 10:28 Simple_GPS2Vec_Usage.py
    drwxr-xr-x 2 root root 4.0K May 20 10:33 __pycache__
    -rw-r--r-- 1 root root 5.7K May 20 09:55 gps2vec.py
    -rw-r--r-- 1 root root 2.7K May 20 09:55 model_tag.json
    -rw-r--r-- 1 root root 3.3K May 20 09:55 model_visual.json
    drwxr-xr-x 2 root root 4.0K Aug 23  2021 models_tag
    drwxr-xr-x 2 root root 4.0K Aug 23  2021 models_visual
    drwxr-xr-x 2 root root 4.0K May 20 09:55 papers
    
    (.satclip) (base) root@WorldMap:~/VectorEmbeddingsFromGeoCoordinates/satclip/satclip/GPS2Vec# ls -lah ./models_visual/ | grep model_18
    -rw-r--r-- 1 root root  22M Aug 23  2021 model_18 L.h5
    -rw-r--r-- 1 root root  22M Aug 23  2021 model_18 N.h5
    -rw-r--r-- 1 root root  22M Aug 23  2021 model_18 S.h5
    -rw-r--r-- 1 root root  22M Aug 23  2021 model_18 T.h5

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