You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thop, h5py and fvcore should be included in some requirements.txt somewhere or in the deepgcn_env_install.sh file as these were required to prepare the Floorplan dataset
any line with np.bool in the build_graph_bbox.py file should be changed to simply bool. Error is:
"AttributeError: module 'numpy' has no attribute 'bool'. np.bool was a deprecated alias for the builtin bool. To avoid this error in existing code, use bool by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.bool_ here."
With the first two fixes, the data preparation can be done without errors for me while following the introductory steps.
In cad_recognition/train.py, the "keys" of the collate function (line 126) should be defined as "data_list[0].keys()" instead of "data_list[0].keys". The original definition assigns a method to the variable "keys" and causes an error when enumerating the train_loader.
With the above fix in step 3, the training ran without a hitch for me while following the introductory steps.
The text was updated successfully, but these errors were encountered:
JovinLim
changed the title
Description of issues and potential fixes
Description of issues and fixes when following Data Preparation and Training & Inference steps
Aug 9, 2024
thop, h5py and fvcore should be included in some requirements.txt somewhere or in the deepgcn_env_install.sh file as these were required to prepare the Floorplan dataset
any line with np.bool in the build_graph_bbox.py file should be changed to simply bool. Error is:
"AttributeError: module 'numpy' has no attribute 'bool'.
np.bool
was a deprecated alias for the builtinbool
. To avoid this error in existing code, usebool
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.bool_
here."With the first two fixes, the data preparation can be done without errors for me while following the introductory steps.
With the above fix in step 3, the training ran without a hitch for me while following the introductory steps.
The text was updated successfully, but these errors were encountered: