Error in pose segmentation
tue132 opened this issue · comments
Takuya Uehara commented
Hi all,
Thank you for developing fancy tool.
I am trying to build the VAME on the computing cluster of my institute and google colab. But, following errors occured and reproduced in both environment during pose segmentation process. I am using example files and training model was successfully converged.
Am I lack some value to add the config file? Do you know how to fix this? Thanks.
colab:
Pose segmentation for VAME model: VAME
Using CUDA
GPU active: True
GPU used: Tesla T4
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-19-e14c13c35e2d> in <module>
----> 1 vame.pose_segmentation(config)
/content/drive/MyDrive/Colab Notebooks/vame/VAME/vame/analysis/pose_segmentation.py in pose_segmentation(config)
248 torch.device("cpu")
249
--> 250 if not os.path.exists(os.path.join(cfg['project_path'],"results",file,model_name, parameterization+'-'+str(n_cluster),"")):
251 new = True
252 print("Hello1")
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
my environments:
Pose segmentation for VAME model: VAME
Using CUDA
GPU active: True
GPU used: Tesla K80
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-6-e14c13c35e2d> in <module>
----> 1 vame.pose_segmentation(config)
~/VAME/vame/analysis/pose_segmentation.py in pose_segmentation(config)
248 torch.device("cpu")
249
--> 250 if not os.path.exists(os.path.join(cfg['project_path'],"results",file,model_name, parameterization+'-'+str(n_cluster),"")):
251 new = True
252 # print("Hello1")
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
K L commented
Hi!
You need to go into your config.yaml and specify the parameterization paramter like this:
parameterization: hmm
This should fix your NoneType error.
Takuya Uehara commented
That works! Thank you.
kailiwu0707 commented