I'm not as experienced as others, but have a 10 month old female so have just come out the other side and found it very frustrating!
The turn around for me was deciding that I would take her out every hour rather than waiting for her to show signs. Taking her in the garden wasn't working as she would just get really stressed wanting to come in and still wouldn't go, but I found that taking her out for a quick walk around our road was much quicker and more effective and removed the battle of the wills element.
She didn't necessarily go every time and there were still some accidents but the increased frequency meant that she had many more opportunities to go outside and less to go inside, so going inside started to feel less natural to her and after just a couple of days of this routine it finally felt we were getting somewhere.
As she matured and obviously needed to go less often I increased the frequency to 1.5 hours, 2 hours etc. and eventually she started asking to go herself. About a month ago she started not needing to go for a much longer period of time and now I don't really need to think about whether she has been unless we are going to bed and I want her to sleep through the night!
With consistency and physical maturity it does get better! If you have 4 days off you could focus on regular toileting opportunities and hopefully get into a better pattern.
Personally I found it unhelpful to let myself get overly controlling about it and we both had a much better experience trying to relax if she didn't need to go or.had an accident, but at the same time being disciplined enough to make sure I to tried again an hour later.