On finite weak and injective dimension