Jetson nano not booting

I have do cnn classification in jetson nano dev kit 4GB with robot arm ros.
i success install tensorflow==2.3.1 and i try

model = tf.keras.Sequential([
tf.keras.applications.MobileNetV2(weights='imagenet',input_shape=(224,224,3),pooling=None,classes=1000),
#tf.keras.layers.Dense(50,activation='relu'),
tf.keras.layers.Dense(num_class,activation='softmax',activity_regularizer = tf.keras.regularizers.l1(0.04))
])

but it not working and error
‘OOM when allocating tensor with shape and type float’
so I recofnize its memory storage problem.
then I try memory swap
code is this

git clone https://github.com/JetsonHacksNano/installSwapfile
cd installSwapfile
./installSwapfile.sh

So message is
‘Modifying /etc/fstab to enable on boot
/mnt/swapfile
Swap file has been created
Reboot to make sure changes are in effect’

then i finial texting
‘sudo reboot’
but!
after that jetson nano not booting…

What’s the problem??

Hi,

Could you try if you can turn on the Nano manually?

More, please noted that swap memory cannot be accessed via GPU.
So for inference which is usually running on GPU mode, the available memory won’t benif from this.

Thanks.