Pointnet2_PyTorch icon indicating copy to clipboard operation
Pointnet2_PyTorch copied to clipboard

how to test?

Open AndrewJSong opened this issue 4 years ago • 3 comments

I had trained this network,but I don not konw how to test it,can you provide the mothod.THANK YOU

AndrewJSong avatar Sep 05 '20 04:09 AndrewJSong

hi, I think the data Loader file uses the test dataset as the validation dataset. If you want to test the network, I think you can edit the "tests/conftest.py"

pengPeterpeng avatar Sep 20 '20 14:09 pengPeterpeng

@AndrewJSong did it work? When I am trying to run the train I got this


  File "pointnet2/train.py", line 31, in main
    model = hydra.utils.instantiate(cfg.task_model, hydra_params_to_dotdict(cfg))
  File "/home/alberto/anaconda3/envs/pointnet++/lib/python3.8/site-packages/hydra/utils.py", line 70, in call
    raise HydraException(f"Error calling '{cls}' : {e}") from e
hydra.errors.HydraException: Error calling 'pointnet2.models.PointNet2SemSegSSG' : __init__() got an unexpected keyword argument 'name'

albertotono avatar Oct 23 '20 16:10 albertotono

@pengPeterpeng I tried running the conftest.py file but getting the following error

Traceback (most recent call last): File "conftest.py", line 16, in @pytest.helpers.register AttributeError: module 'pytest' has no attribute 'helpers'

Were you able to resolve this error?

Rishab9991 avatar Jul 28 '21 08:07 Rishab9991