Closed UnpureRationalist closed 2 years ago
I personally think either way is fine, re-training a new model or continue fine-tuning the previous one. They have their own pros and cons. I choose to re-train a new model for balancing the importance of every labeled instance.
You can modify it according to your need.
Thank you for your reply. I have understood the purpose of your current implement.
I use DAL in computer vision, the datasets are large in most cases and the training cost is expensive, so I asked the question. I will rethink the pros and cons of the two implements and make final decision.
Finally, thank you for your efforts in this repository.
It seems that each time I call the function Net.train(self, data), a new network with new initial parameters will be constructed.(As the code shown in https://github.com/ej0cl6/deep-active-learning/blob/563723356421bc7d82e3496700265992cf7fcb06/nets.py#L17) As I know, the network's parameters are trained continuously after each query in Active Learning settings, instead of constructing a new network and training from scratch. So the constructor of class Net maybe like:
I'm a beginner in Deep Active Learning, so the content above maybe just my misunderstanding about Deep Active Learning. Looking forward to your reply. Thank you.