-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shape issues #260
Comments
It looks like you want to apply BaseRgbTransform on your input. Then make sure your input is RGB images, which contains 3 channels for each pixel. |
Thank you, actually I input the pickle files folder.
…On Wed, Jan 8, 2025 at 12:40 PM chuanfushen ***@***.***> wrote:
It looks like you want to apply BaseRgbTransform on your input. Then make
sure your input is RGB images, which contains 3 channels for each pixel.
—
Reply to this email directly, view it on GitHub
<#260 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHEDVBHBPPKVAXDKTLQOKND2JTI5JAVCNFSM6AAAAABUZET27KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZWHE2DIOJUGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
when i input RGB images folder
File "/opt/OpenGait/opengait/data/dataset.py", line 43, in __loader__
raise ValueError('- Loader - just support .pkl !!!')
ValueError: - Loader - just support .pkl !!!
On Wed, Jan 8, 2025 at 3:30 PM Khan Engr zubair ***@***.***>
wrote:
… Thank you, actually I input the pickle files folder.
On Wed, Jan 8, 2025 at 12:40 PM chuanfushen ***@***.***>
wrote:
> It looks like you want to apply BaseRgbTransform on your input. Then make
> sure your input is RGB images, which contains 3 channels for each pixel.
>
> —
> Reply to this email directly, view it on GitHub
> <#260 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AHEDVBHBPPKVAXDKTLQOKND2JTI5JAVCNFSM6AAAAABUZET27KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZWHE2DIOJUGI>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
dataset_root:
which path should be provided .pkl files/RGB .
On Wed, Jan 8, 2025 at 4:07 PM Khan Engr zubair ***@***.***>
wrote:
… when i input RGB images folder
File "/opt/OpenGait/opengait/data/dataset.py", line 43, in __loader__
raise ValueError('- Loader - just support .pkl !!!')
ValueError: - Loader - just support .pkl !!!
On Wed, Jan 8, 2025 at 3:30 PM Khan Engr zubair <
***@***.***> wrote:
> Thank you, actually I input the pickle files folder.
>
>
> On Wed, Jan 8, 2025 at 12:40 PM chuanfushen ***@***.***>
> wrote:
>
>> It looks like you want to apply BaseRgbTransform on your input. Then
>> make sure your input is RGB images, which contains 3 channels for each
>> pixel.
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#260 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AHEDVBHBPPKVAXDKTLQOKND2JTI5JAVCNFSM6AAAAABUZET27KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZWHE2DIOJUGI>
>> .
>> You are receiving this because you authored the thread.Message ID:
>> ***@***.***>
>>
>
|
you can follow the structure of SUSTech1K dataset, putting all of your sequences within separated pkl. Then be noticed to modify the corresponding data_in_use as:
|
ok thankyou, and what about the transforms, i used the data_in_use:
[fasle,true], and a single transform instead of 2 transforms, getting this
error
File "/opt/OpenGait/opengait/modeling/models/BigGait.py", line 215, in
forward
ratios = ipts[1] # real_image_ratios shape:
[n,s,ratio]; ratio: w/h, e.g. 112/224=0.5;
IndexError: list index out of range
…On Thu, Jan 9, 2025 at 10:41 AM chuanfushen ***@***.***> wrote:
you can follow the structure of SUSTech1K dataset, putting all of your
sequences within separated pkl.
https://github.com/ShiqiYu/OpenGait/tree/master/datasets/SUSTech1K
Then be noticed to modify the corresponding data_in_use as:
https://github.com/ShiqiYu/OpenGait/blob/086f9f0129aa07c7b31df73593f07326c0ada26d/configs/lidargait/lidargait_sustech1k.yaml#L6
—
Reply to this email directly, view it on GitHub
<#260 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHEDVBEQMTM2LSQGS3RDPMD2JYDXJAVCNFSM6AAAAABUZET27KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZZGIZDCOJZG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
BigGait requires two inputs, one is rgb modality, another is ratios. OpenGait/opengait/modeling/models/BigGait.py Lines 214 to 215 in 086f9f0
Follow BigGait configuration.yaml
Try to include ratios within input as well. |
Hello there, when I tried to try to organize my datasets according to the CCPG format, I found that the model actually loaded the 'subject-seqtype-view-aligned-sils.pkl', which is not the rgb one, is this correct? I forced the model to load rgb images by setting 'data_in_use:[fasle,true,true,false], sils = ipts[1], ratios = ipts[0]', then I encounterd with a new error |
File "/opt/OpenGait/opengait/data/transform.py", line 71, in call
return (x - self.mean) / self.std
ValueError: operands could not be broadcast together with shapes (30,64,64) (1,3,1,1)
The text was updated successfully, but these errors were encountered: