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

AttributeError #57

Open
normajeane-m opened this issue Sep 19, 2023 · 2 comments
Open

AttributeError #57

normajeane-m opened this issue Sep 19, 2023 · 2 comments

Comments

@normajeane-m
Copy link

normajeane-m commented Sep 19, 2023

I appreciated your amazing research.

After the pcd files were converted to depth images (using function generate_cornell_depth), I got some errors when I tried to train the network with Cornell dataset.

python3 train_ggcnn.py --description training --network ggcnn2 --dataset cornell --dataset-path cornell/

AttributeError: Caught AttributeError in DataLoader worker process 0
AttributeError: Couldn't find function center in BoundingBoxes or BoundingBox

There was same result with evaluation code with pre-trained model.

python3 eval_ggcnn.py --network ggcnn_weights_cornell/ggcnn_epoch_23_cornell --dataset cornell --dataset-path cornell --iou-eval

AttributeError: Caught AttributeError in DataLoader worker process 0
AttributeError: Couldn't find function center in BoundingBoxes or BoundingBox

But, I tested the task to loading the ggcnn using pre-trained model.

from models.ggcnn import GGCNN
model = GGCNN()
model.load_state_dict(torch.load('ggcnn_weights_cornell/ggcnn_epoch_23_cornell_statedict.pt'))

All keys matched successfully

I would like to thank you once again.

@kalyanksk
Copy link

I also faced the issue and changing numpy version worked for me!

pip uninstall numpy
pip install numpy==1.22

@Anmol-002
Copy link

can you please share your repository of this code @t-272 @normajeane-m @kalyanksk

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

3 participants