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

Flow to train the model. #9

Open
talk2sohail opened this issue May 24, 2021 · 0 comments
Open

Flow to train the model. #9

talk2sohail opened this issue May 24, 2021 · 0 comments

Comments

@talk2sohail
Copy link

Hi there,

I am trying to train the CNN model but I am not able to prepare the dataset. Can you please help with the flow or steps to be specific in order to achieve the above said purpose. I urge u to please let me know if it can done. My aim is to score protein-protein interaction.

Steps I have done so far:

  1. Tried running the train.py with pointclouds.h5 file but I am getting the following error:
    cmd : python3 scripts/train.py --data_path pointclouds.h5 --optimizer SGD
    output :
    Traceback (most recent call last): File "scripts/train.py", line 64, in <module> dataloader = data.DataLoader(dataset, batch_size=arg.batch_size, shuffle=True, num_workers=1) File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 266, in __init__ sampler = RandomSampler(dataset, generator=generator) # type: ignore File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/sampler.py", line 104, in __init__ "value, but got num_samples={}".format(self.num_samples)) ValueError: num_samples should be a positive integer value, but got num_samples=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