pinellolab / dictys

Context specific and dynamic gene regulatory network reconstruction and analysis
GNU Affero General Public License v3.0
111 stars 14 forks source link

RuntimeError: No motif found. #63

Closed nikithkurella closed 3 months ago

nikithkurella commented 5 months ago

Checks before submitting the issue

Describe the error

lingfeiwang commented 5 months ago

Hi nikithkurella. Given it's a tutorial data, could you upload the full notebook for diagnosis?

nikithkurella commented 5 months ago

Hi @lingfeiwang. Here it is: main2.txt

All of the cells up to the dynamic inference step were run in the notebook, but I ran the inference step mentioned previously in terminal.

lingfeiwang commented 5 months ago

Can you try reducing the number of jobs? Would dictys_helper network_inference.sh -j 4 -J 1 dynamic help?

nikithkurella commented 5 months ago

Thanks @lingfeiwang. I will try reducing the number of jobs and report back.

nikithkurella commented 5 months ago

I'm receiving the same error even after reducing the number of jobs.

(dictys) root@c696c9102e7c:~:Dictys:full_skin# dic (2).txt

lingfeiwang commented 5 months ago

Thank you, nikithkurella.

From the error messages, the most likely reason to me is the Segmentation fault from Homer. We are not familiar with this type of errors so I can only provide several suggestions but none are guaranteed to work.

  1. Maybe try -j 1 instead.
  2. Maybe your machine is not 100% compatible with docker or this image generated on github. You can try it on a more typical machine or typical cloud computing machine.
  3. You can also try to install Dictys through conda. Following your issue https://github.com/pinellolab/dictys/issues/59, I updated Dictys to be compatible with your machine. Just (re)install the latest version.

If any of them works, please let us know because this is error is absolutely new to us.

Lingfei

nikithkurella commented 5 months ago

Hi @lingfeiwang. I've reinstalled the latest version of Dictys through conda on my machine. And I'm now running into a new error RuntimeError: Boolean value of Tensor with more than one value is ambiguous. I've attached the full output to this comment. slurm-24297141.out.txt

lingfeiwang commented 4 months ago

Hi nikithkurella. That could be from an incompatible pytorch version. Could you post the versions of the relevant python packages in this environment?

github-actions[bot] commented 3 months ago

Stale issue message