Closed Beau-Yang closed 1 week ago
I guess it is due to the mismatch of pandas version. Please try pandas==1.4.3
.
This method tried to read the file urban planning/cfg/test data/real/hlg/init plan hlg.pickle , but this file is missing here
You can find the file at urban_planning/cfg/test_data/real/hlg/init_plan_hlg.pickle.
I guess it is due to the mismatch of pandas version. Please try
pandas==1.4.3
.
Thanks for your help! I configured the environment code according to your requirement.txt file and it worked fine (although I still need to use conda to force the ignore python library version incompatibility error).
Issue Description
When attempting to run your trianing command
python3 -m urban_planning.train --cfg hlg --global_seed 111
, the PlainClient's initialisation calledload_pickle()
to read the initial plan which raised an error:And the following is the error information:
From my understanding, this method tried to read the file
urban_planning/cfg/test_data/real/hlg/init_plan_hlg.pickle
but somehow it failed. I also tried to read the correspondingdhm
file instead but got the same error.Environment
Operating System: Linux
I suspect this is due to python package compatibility, but am not very sure. I created the environment via
conda create --name test1 python=3.8 pandas geopandas
and got the following versions of packages and above error information:And then I also tried newer python via
conda create --name test2 python=3.9 pandas geopandas
and got the following versions of packages but a different error information:Could you please share your runtime environment or give me some suggestions on how to fix this? Thanks in advance.