Source code for Our RPNet:
Our code is based on PyTorch deep learning framework. Please install and configure PyTorch operating environment on your computer.
Download all the codes to your local computer.
Download URC test dataset by the link: https://pan.baidu.com/s/1driZAj_K6J2elR8RXO-9zA?pwd=wra8 code:wra8
Download checkpoint by the link: https://pan.baidu.com/s/1y4A5usEFuWtBVoHiDtTuRA?pwd=n6m5 code:n6m5
Unrar the above two files to the codes folder.
Run 'eval.py' to test the counting performance of RiceNet
File 'train.py' provides the code for network training. Hope it will have reference value in your crop counting task.
File 'models.py' gives the code for the network pipeline of RPNet.