# Cell #UNQ\_C1. Can't compile the student's code

**URL:** <https://community.deeplearning.ai/t/cell-unq-c1-cant-compile-the-students-code/347034>\
**Category:** Device-based Models with TensorFlow Lite\
**Tags:** week-module-1\
**Created:** [May 30, 2023, 3:31pm UTC](https://community.deeplearning.ai/t/cell-unq-c1-cant-compile-the-students-code/347034 "2023-05-30T15:31:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nuri\_Fathriya\_Mardla](https://avatars.discourse-cdn.com/v4/letter/n/b5e925/32.png) [@Nuri\_Fathriya\_Mardla](https://community.deeplearning.ai/u/Nuri_Fathriya_Mardla)\
**Post date:** [May 30, 2023, 3:31pm UTC](https://community.deeplearning.ai/t/cell-unq-c1-cant-compile-the-students-code/347034/1 "2023-05-30T15:31:03Z")

</div>

Cell #UNQ\_C1. Can’t compile the student’s code. Error: SyntaxError(‘invalid syntax’, (‘/tmp/student\_solution\_cells/cell\_7.py’, 15, 29, ’ image = # YOUR CODE HERE\n’))  
Traceback (most recent call last):  
File “/home/www/app/grading/exceptions.py”, line 112, in handle\_solution\_errors  
yield {}  
File “/home/www/app/grading/abstract.py”, line 393, in \_grade  
context = compiled\_code.run(cell\_index=cell.index)  
File “/home/www/app/grading/submission/compiled\_code.py”, line 195, in run  
return list(self.\_code\_items.values())[cell\_num - 1].run()  
File “/home/www/app/grading/submission/compiled\_code.py”, line 54, in run  
return import\_module(self.import\_statement, items)  
File “/usr/local/lib/python3.7/importlib/ **init**.py”, line 127, in import\_module  
return \_bootstrap.\_gcd\_import(name[level:], package, level)  
File “”, line 1006, in \_gcd\_import  
File “”, line 983, in \_find\_and\_load  
File “”, line 967, in \_find\_and\_load\_unlocked  
File “”, line 677, in \_load\_unlocked  
File “”, line 724, in exec\_module  
File “”, line 860, in get\_code  
File “”, line 791, in source\_to\_code  
File “”, line 219, in \_call\_with\_frames\_removed  
File “/tmp/student\_solution\_cells/cell\_7.py”, line 15  
image = # YOUR CODE HERE  
^  
SyntaxError: invalid syntax

I’ve done the submission 20X. whereas I’ve filled the code. what’s wrong?

---

<div class="post-metadata">

**Author:** ![Mujassim\_Jamal](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/mujassim_jamal/32/53828_2.png) [@Mujassim\_Jamal](https://community.deeplearning.ai/u/Mujassim_Jamal)\
**Post date:** [May 30, 2023, 4:44pm UTC](https://community.deeplearning.ai/t/cell-unq-c1-cant-compile-the-students-code/347034/2 "2023-05-30T16:44:10Z")

</div>

> [@Nuri\_Fathriya\_Mardla](#):
>
> image = # YOUR CODE HERE

I am curious to know why you are assigning the comment ‘#YOUR CODE HERE’ to the variable ‘image’?

---

<div class="post-metadata">

**Author:** ![Girijesh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/girijesh/32/37283_2.png) [@Girijesh](https://community.deeplearning.ai/u/Girijesh)\
**Post date:** [October 18, 2023, 5:29pm UTC](https://community.deeplearning.ai/t/cell-unq-c1-cant-compile-the-students-code/347034/3 "2023-10-18T17:29:41Z")

</div>

> [@Nuri\_Fathriya\_Mardla](#):
>
> image = # YOUR CODE HERE

Put your code in place of “# YOUR CODE HERE”

---

<div class="post-metadata">

**Author:** ![george93](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@george93](https://community.deeplearning.ai/u/george93)\
**Post date:** [June 10, 2024, 2:02pm UTC](https://community.deeplearning.ai/t/cell-unq-c1-cant-compile-the-students-code/347034/4 "2024-06-10T14:02:49Z")

</div>

Cell #20. Can’t compile the student’s code. Error: SyntaxError(‘invalid syntax’, (‘/tmp/student\_solution\_cells/cell\_20.py’, 22, 1, ‘```Python\n’))

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [June 10, 2024, 2:48pm UTC](https://community.deeplearning.ai/t/cell-unq-c1-cant-compile-the-students-code/347034/5 "2024-06-10T14:48:44Z")

</div>

@george93, since this thread is quite old, and you seem to have a different error, I recommend you start a new thread so that a mentor for that course will find it.
