-
|
Hi Team, I want to access bare/clean slabs from OC20 dataset. I had successfully completed similar exercise for OC22 however I am struggling with OC20 and have the following questions:
Current attempt with open('oc20/oc20_data_mapping.pkl', 'rb') as f:
'''
{'bulk_id': 6510,
'ads_id': 69,
'bulk_mpid': 'mp-22179',
'bulk_symbols': 'Si2Ti2Y2',
'ads_symbols': '*N2',
'miller_index': (2, 0, 1),
'shift': 0.145,
'top': True,
'adsorption_site': ((4.5, 12.85, 16.13),),
'class': 1,
'anomaly': 0,
'split': 'test_is'}
'''
data_mapping = pickle.load(f)
with open('oc20/mapping_adslab_slab.pkl', 'rb') as f:
adslab_2_clean_slab_map = pickle.load(f)
# Sample data in train LMDB
# Data(edge_index=[2, 688], pos=[39, 3], cell=[1, 3, 3], atomic_numbers=[39], natoms=39, cell_offsets=[688, 3], force=[39, 3], distances=[688], fixed=[39], sid=1334331, tags=[39], y_init=1.4904021400000005, y_relaxed=-0.7590455899999995, pos_relaxed=[39, 3])
clean_slab_id = adslab_2_clean_slab_map['random1334331'] # random989340
print(data_mapping[clean_slab_id])
# {'bulk_id': 1605,
# 'ads_id': 33,
# 'bulk_mpid': 'mp-684799',
# 'bulk_symbols': 'K5As4',
# 'ads_symbols': '*CCH3', # I was assuming catalyst to not have any adsorbate here
# 'miller_index': (2, -1, -2),
# 'shift': 0.041,
# 'top': False,
# 'adsorption_site': ((4.25, 3.95, 24.82),),
# 'class': 1,
# 'anomaly': 0,
# 'split': 'train'}I tried searching |
Beta Was this translation helpful? Give feedback.
Answered by
mshuaibii
Aug 11, 2025
Replies: 1 comment 3 replies
-
|
Hi - Sorry for the confusion. Clean slabs can be found at this download link: https://fair-chem.github.io/catalysts/datasets/oc20.html#catalyst-system-trajectories-optional-download. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
R1j1t
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi - Sorry for the confusion. Clean slabs can be found at this download link: https://fair-chem.github.io/catalysts/datasets/oc20.html#catalyst-system-trajectories-optional-download.