Open Younger330 opened 1 year ago
Hello, I am using your compute_states.py to evaluate our code, but I have a question regarding how to set the true_idx_offset and pred_idx_offset, as I didn't find any information on setting them in your code.
Here is the code:
`true_idx_offset = ( true_idx_offset + true_inst_type_all[-1].shape[0] if file_idx != 0 else 0 )
pred_idx_offset = ( pred_idx_offset + pred_inst_type_all[-1].shape[0] #if file_idx != 0 else 0 )`
Hello, I am using your compute_states.py to evaluate our code, but I have a question regarding how to set the true_idx_offset and pred_idx_offset, as I didn't find any information on setting them in your code.
Here is the code:
`true_idx_offset = ( true_idx_offset + true_inst_type_all[-1].shape[0] if file_idx != 0 else 0 )
pred_idx_offset = ( pred_idx_offset + pred_inst_type_all[-1].shape[0] #if file_idx != 0 else 0 )`