12dmodel / camera_sim

72 stars 14 forks source link

question about building Halide #3

Open oneTaken opened 5 years ago

oneTaken commented 5 years ago

Hello, I try to build Halide as your instruction.

But I was failed with the following error message:

make[1]: Entering directory '/home/deepmind/projects/camera_sim/halide/gradient_apps/gapps'
make[1]: *** No rule to make target 'build/naive_demosaick_forward', needed by 'build/naive_demosaick_forward.a'。 停止。
make[1]: Leaving directory '/home/deepmind/projects/camera_sim/halide/gradient_apps/gapps'
Makefile:3: recipe for target 'gapps' failed
make: *** [gapps] Error 2

It seems not the actural problem that I meet. Can you give more instruction about your halide version build steps?

Thanks so much.

12dmodel commented 5 years ago

What is the output of echo $HALIDE_DIR? And could you tell me more about your environment?

On Tue, Jun 11, 2019, 5:59 AM oneTaken notifications@github.com wrote:

Hello, I try to build Halide as your instruction.

But I was failed with the following error message:

make[1]: Entering directory '/home/deepmind/projects/camera_sim/halide/gradient_apps/gapps'

make[1]: *** No rule to make target 'build/naive_demosaick_forward', needed by 'build/naive_demosaick_forward.a'。 停止。

make[1]: Leaving directory '/home/deepmind/projects/camera_sim/halide/gradient_apps/gapps'

Makefile:3: recipe for target 'gapps' failed

make: *** [gapps] Error 2

It seems not the actural problem that I meet. Can you give more instruction about your halide version build steps?

Thanks so much.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/12dmodel/camera_sim/issues/3?email_source=notifications&email_token=AANUQV35COWKW7P6LIDOXP3PZ6AQ3A5CNFSM4HW5CTEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYY7K5Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AANUQV6LWQ2BKJOXOAMTSILPZ6AQ3ANCNFSM4HW5CTEA .

oneTaken commented 5 years ago

My machine environment is

Ubuntu 14.04, 
python conda environment, python3.6, pytorch 0.4.1, no cuda
llvm-config and clang both version 5.0

Same in the error message shown above, The HALIDE_DIR is /home/deepmind/projects/camera_sim/halide/gradient_apps.

I clone the gradient_apps of your version and just then run

cd gradient_apps
make

I do not know exactly where the problem is , hope this info will help you. Thanks so much.

nikeshkrishnan commented 3 years ago

any updates on this?

xlying55 commented 3 years ago

Same question here, any solutions?

howardgriffin commented 3 years ago

Same problem, how to solve it? And the submodule touchlib link seems dead,Is this the cause of failure?

haikunzhang95 commented 3 years ago

Hello! When I run ‘generate_dataset.py’, the following error occurred: 'torch.nn.modules.module.ModuleAttributeError: 'NaiveDemosaicking' object has no attribute 'demosaicker'.' I found there was no attribute 'demosaicker' in class NaiveDemosaicking(). So, what should I do? How to do solve the problem? Thank you very much!