Skip to content
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

ValueError: object __array__ method not producing an array #300

Open
wsc1874 opened this issue Dec 16, 2024 · 0 comments
Open

ValueError: object __array__ method not producing an array #300

wsc1874 opened this issue Dec 16, 2024 · 0 comments

Comments

@wsc1874
Copy link

wsc1874 commented Dec 16, 2024

While running ./scripts/run_inference.py 'contigmap.contigs=[150-150]' inference.output_prefix=test_outputs/test inference.num_designs=10

File "/root/autodl-tmp/RFdiffusion/rfdiffusion/diffusion.py", line 582, in init
self.so3_diffuser = IGSO3(
File "/root/autodl-tmp/RFdiffusion/rfdiffusion/diffusion.py", line 198, in init
self.igso3_vals = self._calc_igso3_vals(L=L)
File "/root/autodl-tmp/RFdiffusion/rfdiffusion/diffusion.py", line 236, in _calc_igso3_vals
igso3_vals = igso3.calculate_igso3(
File "/root/autodl-tmp/RFdiffusion/rfdiffusion/igso3.py", line 95, in calculate_igso3
discrete_sigma = 10 ** np.linspace(np.log10(min_sigma), np.log10(max_sigma), num_sigma + 1)[1:]
ValueError: object array method not producing an array

so I print the min_sigma and max_sigma,min_sigma: <class 'float'> 0.02, max_sigma: <class 'torch.Tensor'> tensor(2.0200),how this problem should be solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant