Open anshum5024 opened 8 months ago
Changing config file can't achieve it, you need to modify code Teacher inference code is here: https://github.com/HikariTJU/LD/blob/bc60bbcd48e9305e61e32a0d2c981621e2ae0d05/mmdet/models/detectors/kd_one_stage.py#L71
Hello, Is it is possible to pass High resolution RGB image to Teacher network and low resolution RGB image to student network, so that student can learn to detect object from low resolution image. If possible what changes do I need to make in the config file. Thank you.
Hello, I also want to change the input of teacher network and student network into two datasets, may I ask you to achieve it?
Hello, Is it is possible to pass High resolution RGB image to Teacher network and low resolution RGB image to student network, so that student can learn to detect object from low resolution image. If possible what changes do I need to make in the config file. Thank you.
Hello, I also want to change the input of teacher network and student network into two datasets, may I ask you to achieve it?
Do you mean training teacher and training student using different dataset or in the student training stage, pass different picture to teacher?
Hello, Is it is possible to pass High resolution RGB image to Teacher network and low resolution RGB image to student network, so that student can learn to detect object from low resolution image. If possible what changes do I need to make in the config file. Thank you.
Hello, I also want to change the input of teacher network and student network into two datasets, may I ask you to achieve it?
Do you mean training teacher and training student using different dataset or in the student training stage, pass different picture to teacher?
In the distillation phase, teachers and students make predictions with different datasets, and then the predicted results are distilled, aligned between the two data sets.
Hello, Is it is possible to pass High resolution RGB image to Teacher network and low resolution RGB image to student network, so that student can learn to detect object from low resolution image. If possible what changes do I need to make in the config file. Thank you.
Hello, I also want to change the input of teacher network and student network into two datasets, may I ask you to achieve it?
Do you mean training teacher and training student using different dataset or in the student training stage, pass different picture to teacher?
In the distillation phase, teachers and students make predictions with different datasets, and then the predicted results are distilled, aligned between the two data sets.
Same to my previous comment, teacher inference is here: https://github.com/HikariTJU/LD/blob/0d575bf63b150d265e9f1bcd73c37a9c500453f7/mmdet/models/detectors/kd_one_stage.py#L71
you need to modify input of the forward_train function to the teacher dataset, which means you need add image preprocessing somewhere else.
Hello, Is it is possible to pass High resolution RGB image to Teacher network and low resolution RGB image to student network, so that student can learn to detect object from low resolution image. If possible what changes do I need to make in the config file. Thank you.
Hello, I also want to change the input of teacher network and student network into two datasets, may I ask you to achieve it?
Do you mean training teacher and training student using different dataset or in the student training stage, pass different picture to teacher?
In the distillation phase, teachers and students make predictions with different datasets, and then the predicted results are distilled, aligned between the two data sets.
Same to my previous comment, teacher inference is here:
you need to modify input of the forward_train function to the teacher dataset, which means you need add image preprocessing somewhere else.
I get it, but the framework of mmdet is complicated, the underlying calls are difficult to trace, so I have not changed this code. I see that the questioner's problem is similar to mine, so I want to see if he/she has achieved it. In addition, if the high resolution image is distilled with the low resolution image, the teacher's and student's predictions are not aligned, what method should be used to align the predictions of the high resolution image to the low resolution image?
Hello, Is it is possible to pass High resolution RGB image to Teacher network and low resolution RGB image to student network, so that student can learn to detect object from low resolution image. If possible what changes do I need to make in the config file. Thank you.