The Poles were militarily weaker than the Germans yes, but their strategies were to fall back to the mountain areas in the south and east (most of Poland is flat and after WWI, there was NO natural land barrier between Poland and Germany (no river, no mountain) — neither on the west nor on the north-east
Germans were in Slovakia, so they attacked the mountain areas from there.