  We extend the notions of joint and generalized spectral radii to cocycles
acting on Banach spaces and obtain a version of Berger-Wang's formula when
restricted to the space of cocycles taking values in the space of compact
operators. Moreover, we observe that the previous quantities depends
continuously on the underlying cocycle.
