Adrien Golebiewski
Adrien Golebiewski
Thanks for your reply ! No problem for the "shore" dataset. It's only for the "onboard" data that XML file generation is not working.
If threads share variables (such as w_new and h_new), I wanted to make sure that these variables were protected against concurrent access. And therefore use locks (threading.Lock) to synchronise access...
It was only a test. By removing this line, I still have the same error. I modified the plot_val_samples function like this: ``` def plot_val_samples(self, batch, ni, threaded=False): for img_idx,...
Yes, I defined the if condition as follows: ```` if self.args.plots: ```` But what batch parameter you're talking about ? And which function ?
The batch size in val mode indicates the number of images per batch for the optimisation process. Whereas the batch parameter I'm using corresponds to the number of images displayed...