I get the following error message whileopening pickle files.
Traceback (most recent call last):
File "models/TAM_teacher.py", line 29, in
train_data = pickle.load(f)
_pickle.UnpicklingError: invalid load key, 'v'.
I also try to open the pickle files in dataset directly and get the same error. Looking at the file size, train_TRIPOD_USE.pickle is 134 bytes. Is it a placeholder only?
I cloned SUMMER from git and ran the "python config.py" in Colab to set up the environment match the requirements, however, I'm still unable to open the pickle files. Is there a specific version of Pickle to use?
Requirement already satisfied: torch==1.3.1 in /usr/local/lib/python3.7/dist-packages (1.3.1)
Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (from torch==1.3.1) (1.19.5)
Collecting umap
Downloading https://files.pythonhosted.org/packages/4b/46/08ab68936625400fe690684428d4db4764f49b406782cc133df1d0299d06/umap-0.1.1.tar.gz
Building wheels for collected packages: umap
Building wheel for umap (setup.py) ... done
Created wheel for umap: filename=umap-0.1.1-cp37-none-any.whl size=3568 sha256=68afda87e40e96dbbb5b20d4164957f717d9a2c3f55919932e490e5038518cdb
Stored in directory: /root/.cache/pip/wheels/7b/29/33/b4d917dc95f69c0a060e2ab012d95e15db9ed4cc0b94ccac26
Successfully built umap
Installing collected packages: umap
Successfully installed umap-0.1.1
Dear Pinelopi ,
I get the following error message whileopening pickle files.
Traceback (most recent call last): File "models/TAM_teacher.py", line 29, in
train_data = pickle.load(f)
_pickle.UnpicklingError: invalid load key, 'v'.
I also try to open the pickle files in dataset directly and get the same error. Looking at the file size, train_TRIPOD_USE.pickle is 134 bytes. Is it a placeholder only?
I cloned SUMMER from git and ran the "python config.py" in Colab to set up the environment match the requirements, however, I'm still unable to open the pickle files. Is there a specific version of Pickle to use?
Requirement already satisfied: torch==1.3.1 in /usr/local/lib/python3.7/dist-packages (1.3.1) Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (from torch==1.3.1) (1.19.5) Collecting umap Downloading https://files.pythonhosted.org/packages/4b/46/08ab68936625400fe690684428d4db4764f49b406782cc133df1d0299d06/umap-0.1.1.tar.gz Building wheels for collected packages: umap Building wheel for umap (setup.py) ... done Created wheel for umap: filename=umap-0.1.1-cp37-none-any.whl size=3568 sha256=68afda87e40e96dbbb5b20d4164957f717d9a2c3f55919932e490e5038518cdb Stored in directory: /root/.cache/pip/wheels/7b/29/33/b4d917dc95f69c0a060e2ab012d95e15db9ed4cc0b94ccac26 Successfully built umap Installing collected packages: umap Successfully installed umap-0.1.1