I've varyingly followed keto, vegetarian, vegan, low fat, and what I call the "cheap ass" diet, and lost weight on all of them because I always watched my calories. CICO is the most important variable.