magenta / mt3

MT3: Multi-Task Multitrack Music Transcription
Apache License 2.0
1.43k stars 187 forks source link

Error 'name 'serialization' is not defined' #126

Open asdrain123 opened 1 year ago

asdrain123 commented 1 year ago

As I have changed 'from jax.experimental.gda_serialization import get_tensorstore_spec'to 'from 'jax.experimental.array_serialization.serialization import get_tensorstore_spec'

Another error appeared. Please help, thank you.

NameError                                 Traceback (most recent call last)
[<ipython-input-18-152851d66c54>](https://localhost:8080/#) in <cell line: 16>()
     14 import seqio
     15 import t5
---> 16 import t5x
     17 
     18 from mt3 import metrics_utils

6 frames
[/usr/local/lib/python3.10/dist-packages/orbax/checkpoint/type_handlers.py](https://localhost:8080/#) in ParamInfo()
    119   path: Optional[epath.Path] = None
    120   aggregate: Optional[bool] = None
--> 121   byte_limiter: Optional[serialization._LimitInFlightBytes] = None  # pylint: disable=protected-access
    122   is_ocdbt_checkpoint: Optional[bool] = None
    123 

NameError: name 'serialization' is not defined 
Chunyuan-Li commented 1 year ago

update jax and t5x,(may need to uninstall package [jestimator] first)