Closed arnitkun closed 4 years ago
It is available here http://cims.nyu.edu/~tompson/data/tr_plus_indices.mat
The link above is not working and I couldnot find it by google. Did anyone have it downloaded and can share the data? Thanks!
I solve this problem using the same method as in lsp_dataset.py to generate indices since I couldn't find the .mat file anywhere.
In flic_dataset.py, I used
N_test = int(len(examples) * 0.1) testing_indices = np.random.permutation(int(len(examples)))[:N_test].tolist()
instead of: training_indices = loadmat('data/FLIC-full/tr_plus_indices.mat') training_indices = training_indices['tr_plus_indices'].flatten()
to generate indices for testing, and change
if i in training_indices: print(msg, file=fp_train) else: print(msg, file=fp_test) to: if i in not in testing_indices: print(msg, file=fp_train) else: print(msg, file=fp_test)
@aspenlin can you please elaborate your process a bit further.
running
python datasets/flic_dataset.py
gives me the following error:FileNotFoundError: [Errno 2] No such file or directory: 'data/FLIC-full/tr_plus_indices.mat'
I have manually downloaded FLIC-full to the dataset location directory. But I can't seem to find tr_plus_indices.mat even in the source zip.