Closed kaushikpavani closed 2 years ago
About GPU, do you use gpu to run or cpu?If we want to use gpu, where should we change the code?
There is a bug in deep-active-learning/query_strategies/active_learning_by_learning.py line 9.
self.strategy_list.append(RandomSampling(X, Y, idxs_lb, args))
I got the error: TypeError: init() missing 2 required positional arguments: 'handler' and 'args'
The fix should be:
self.strategy_list.append(RandomSampling(X, Y, idxs_lb, net, handler, args))
Thanks for finding this bug. The whole repo has been updated and now ALBL is temporarily not supported. So let me close this issue first.
There is a bug in deep-active-learning/query_strategies/active_learning_by_learning.py line 9.
self.strategy_list.append(RandomSampling(X, Y, idxs_lb, args))
I got the error: TypeError: init() missing 2 required positional arguments: 'handler' and 'args'
The fix should be:
self.strategy_list.append(RandomSampling(X, Y, idxs_lb, net, handler, args))