In GEANT4 spectral-angular distributions of the bremsstrahlung of medium-energy electrons from amorphous targets of different thickness and atomic charge were calculated. The total yield of gamma quanta in the forward hemisphere and at large scattering angles were determined depending on the converter thickness. The difference in the characteristics of gamma radiation for thin and thick targets was shown. The neutron yield is calculated due to photonuclear reactions for various converters. Numerical estimates of the radiation spectra after passing through the biological shielding for neutron and bremsstrahlung were carried out.