Skip to content

When training a model in PyTorch using practical examples, I found that there are 9 fewer data in the train_batches. I want to know the position of the missing data in the original dataset. #129

Answered by stes
zhuyuhang4 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @zhuyuhang4 , this happens when you use a model with a receptive field greater than 1. In your example, the offset10-model uses a receptive field of 10, and the neural_model.get_offset() will tell you the number of samples that are removed from the .left and .right side of the data.

Does that clarify the question?

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by zhuyuhang4
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants