There are many factors to consider when deciding whether to practice Yoga in your home or at a Yoga Center. The decision may ultimately be based upon which type or style of Yoga you select to perform as there are certain types and styles of Yoga that are best suited for a Yoga center.
Obviously, styles such as hot yoga (which require a carefully controlled setting to emulate the temperature and humidity conditions of India) may require you to go to the Yoga center from time to time. In addition, Yoga can be very difficult to master as a beginner. There is no problem with taking a few classes at a Yoga center and then flying solo from then on. In fact, this is actually an important point to consider if you have never performed Yoga in the past.