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

The training stops after the first epoch #6

Open
AbdullahJirjees opened this issue May 7, 2024 · 1 comment
Open

The training stops after the first epoch #6

AbdullahJirjees opened this issue May 7, 2024 · 1 comment

Comments

@AbdullahJirjees
Copy link

Hello,

I am facing this issue of training termination exacly after the first epoch is reached 100%, here is what I am getting

image

image

@ThisisKKya
Copy link

@AbdullahJirjees
Since Torchsparse changed the coordinate order, you should modify the code like this.

for idx in range(invs.C[:,-1].max() + 1): 
>>>>>>
for idx in range(invs.C[:, 0].max() + 1):


cur_scene_pts = (inputs_1.C[:, -1] == idx).cpu().numpy()
cur_inv = invs.F[invs.C[:, -1] == idx].cpu().numpy()
cur_label = (all_labels.C[:, -1] == idx).cpu().numpy()
>>>>>>>>>>
cur_scene_pts = (inputs_1.C[:, 0] == idx).cpu().numpy()
cur_inv = invs.F[invs.C[:, 0] == idx].cpu().numpy()
cur_label = (all_labels.C[:, 0] == idx).cpu().numpy()

image

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

2 participants