Closed leung1010 closed 4 months ago
Hi,
Thanks for your appreciation! This error suggests that the simulation JSON file cannot be found ("State" often refers to the simulation in PolyFEM). In the optimization JSON file, there's a block that specifies the paths to the simulation files:
"states": [
{
"path": "run.json"
}
],
Which example are you running? I can double-check if there is any missing file.
Hi,
Thanks for your reply! I tried the case fig1_... and fig14..., following your provided command with two different workstation. Thx.
From: zizhou @.> Sent: Sunday, June 9, 2024 12:32 To: Huangzizhou/DiffIPC-data @.> Cc: @. @.>; Author @.***> Subject: Re: [Huangzizhou/DiffIPC-data] report a bug (Issue #1)
This is an external email.
Hi,
Thanks for your appreciation! This error suggests that the simulation JSON file cannot be found ("State" often refers to the simulation in PolyFEM). In the optimization JSON file, there's a block that specifies the paths to the simulation files:
"states": [
{
"path": "run.json"
}
],
Which example are you running? I can double-check if there is any missing file.
— Reply to this email directly, view it on GitHubhttps://github.com/Huangzizhou/DiffIPC-data/issues/1#issuecomment-2156313383, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALYH3ZEQB4YWJV52UWZS5ATZGPLEVAVCNFSM6AAAAABJARCKC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGMYTGMZYGM. You are receiving this because you authored the thread.Message ID: @.***>
Hi,
I think the issue is that you need to run the command from the example folder that stores the JSON files you want to use. In opt.json
, it points to run.json
and expects that this file is at the current path.
Please let me know if you have further questions.
Many thx! It works well now.
On 10 Jun 2024, at 23:32, zizhou @.***> wrote:
This is an external email.
Hi,
I think the issue is that you need to run the command from the example folder that stores the JSON files you want to use. In opt.json, it points to run.json and expects that this file is at the current path.
Please let me know if you have further questions.
— Reply to this email directly, view it on GitHubhttps://github.com/Huangzizhou/DiffIPC-data/issues/1#issuecomment-2158670686, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALYH3ZHGIPVHVOGHV6PETMDZGXBJ5AVCNFSM6AAAAABJARCKC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYGY3TANRYGY. You are receiving this because you authored the thread.Message ID: @.***>
Dear author,
Thanks for sharing your amazing work! When I try to run the case, I encountered a bug as follow:
[2024-06-09 11:59:13.954] [adjoint-polyfem] [info] Saving adjoint output to [2024-06-09 11:59:13.970] [polyfem] [error] Can't find json for State 0 terminate called after throwing an instance of 'std::runtime_error' what(): Can't find json for State 0 Aborted (core dumped)
So, any good advices to fix this bug, looking forward to your reply! Best.