Police say the evidence found at the first home on 26th Avenue led them to a second home on 34th Avenue.
Altogether, 2,600 plants were removed with a street value of at least $2.5 million.
People were home at both residences, but no one was arrested.
Neighbors say they were not surprised by the raid.
"Nobody lived there, and the guy fixed it all up... nobody had been there fore ages, but they had come and manicured the side, and do everything. And they just busted them today?" said Sunset District resident Sean Kreps.
In the past six months police have conducted 23 raids on similar growing operations in the Sunset and Ingleside neighborhoods.