D-l-z / synthetic-ddsa

GNU General Public License v3.0
0 stars 1 forks source link

No Output Files Generated After Running EXE Command #3

Open 17866520451 opened 2 weeks ago

17866520451 commented 2 weeks ago

Description Hello, I am trying to run your project. I followed your instructions to download the relevant dataset and followed the steps in the image to generate a 102410241024 raw file. Then, I ran the exe file with the specified command, but I didn't see any errors or any files in my output directory. I am not sure what I did wrong. I hope to get your response. Steps to Reproduce 1.Download the dataset as per the instructions. 2.Generate a 102410241024 raw file. image

3.Run the exe file using the specified command. Expected Behavior 1.The program should process the raw file and produce output files in the output directory.

Actual Behavior 1.The program runs without any errors, but no files are generated in the output directory.

D-l-z commented 2 weeks ago

Hello,

If you just want to run the vascular generation project. You will just need to do the following two steps:

  1. Download the code.
  2. Run the following code: image Then, you will be able to have the vascular projection images in your defined "OutPath_CTproj“ path defined in "projectionGenerator.py". The default save path is "YourCodePath\vessels\bolus_chase".

As you described, you have already executed the above steps. The vascular projection images should have been generated. You may check the "OutPath_CTproj" path in your device first.

Hint: I'm guessing the reason you ran the exe file but no output file is because I deleted all the raw files from "projectionGenerator.py" to save hard disk space, you can comment out that part of the code (Line 128-131) to save those files. image

If the above does not solve your problem, can you provide the raw file and the code you used to run the exe file. Then I will do a test in my device and give you a feedback.

Other explanation: The SimVesselProjs.exe file. is use to generate projections from a 3D raw file. If you want to generate a single 3D vascular raw file and projections for it. You will need to change the parameters setting in the "stringGenerator.py" and projectionGenerator.py. Specifically, these parameters includes: domean_min, domean_max, d0std = 5.0, d, epsilon, niter.

Please feel free to contact if you have any issues.

Best, Lizhen

17866520451 commented 2 weeks ago

volumes.zip First of all, thank you for your reply. However, the actual situation is not as you guessed. I have already commented out the remove part of the code and successfully generated the 3D vessel file (Lnet_d10_dr12_epsilon4_iter6_SD500_v1_t600_1024x1024x1024).

But when I use the command “SimVesselProjs.exe InputPath OutputPath Nx Ny Nz dx dy dz Nu Nv Na”, I make sure the InputPath is the path to the 3D vessel file, yet no projection files are output to the OutputPath.

Looking forward to your next reply.

D-l-z commented 2 weeks ago

Hi,

Many thanks for the detailed description and providing the vessel file. I have done the same command in my device and I also got no output. This is highly undesirable because the executable was working fine before! We are going to fix it and give you a response when it works.

Sorry for any inconvenience.

Best, Lizhen

17866520451 commented 1 day ago

Hi Lizhen,

Thank you for the update. I look forward to hearing from you once it's fixed.

Best regards