For growing novelty vegetables, these 1/8″ thick, clear plastic forms are very effective. Just fix a mold over a growing vegetable, and the vegetable will conform to the shape of the mold.
Available in the form of an elf for shaping eggplant, melon, pumpkin, and squash, or the “pickle pair”, corncob or heart (makes heart-shaped cross sections when sliced) for use with cucumber, zucchini and summer squash.
Buy some here.