Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about compute_states #266

Open
Younger330 opened this issue Oct 30, 2023 · 0 comments
Open

Question about compute_states #266

Younger330 opened this issue Oct 30, 2023 · 0 comments

Comments

@Younger330
Copy link

Younger330 commented Oct 30, 2023

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
)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant